*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1b2e4a;
  --primary-light: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #014847;
  --bg: #eef2f7;
  --bg-card: #ffffff;
  --text: #1f2937;
  --text-light: #666;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.site-header {
  background: rgba(27,46,74,0.92);
  padding: 10px 24px;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #95c9c6; }
.nav-highlight {
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 600;
}
.nav-highlight:hover { background: #02807d; color: var(--white); }

.login-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}
.login-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.login-link:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}
.brightwheel-link {
  background: rgba(142,251,247,0.15);
  border-color: rgba(142,251,247,0.4);
}
.brightwheel-link:hover {
  background: rgba(142,251,247,0.25);
  border-color: rgba(142,251,247,0.7);
}

.hero {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}
.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.card {
  background: var(--bg-card);
  color: var(--text);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card h3 {
  margin: 14px 16px 6px;
  color: var(--primary);
}
.card p {
  margin: 0 16px 18px;
  color: var(--text-light);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
input, textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, textarea:focus {
  outline: 2px solid var(--primary-light);
  border-color: transparent;
}
.btn {
  display: inline-block;
  background: var(--primary-light);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.btn:hover { background: var(--primary-dark); }
.form-status { font-size: 0.95rem; margin-top: 0.5rem; }
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }

.site-footer {
  background: var(--primary);
  padding: 25px;
  text-align: center;
  line-height: 1.7;
  color: var(--white);
}
.site-footer a { color: var(--white); }

@media (max-width: 768px) {
  .site-nav { flex-direction: column; align-items: center; gap: 0.5rem; }
  .nav-links { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
  .logo { font-size: 1rem; text-align: center; }
  .hero h1 { font-size: 1.75rem; }
  .login-links { justify-content: center; flex-wrap: wrap; }
}
