/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── Design Tokens ── */
:root {
  --blue: #0053C0;
  --blue-light: #128BFF;
  --bg: #F2F6FF;
  --bg-alt: #EFF3F8;
  --dark: #1C1C1E;
  --grey: #8E94A2;
  --border: #D7E2ED;
  --white: #FFFFFF;
  --teal: #1B4B5A;
  --green: #3DAA78;
}

/* ── Base ── */
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Nav ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

nav.scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06); }

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.nav-brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-brand span { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.02em; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Page Header (sub-pages) ── */
.page-header {
  padding: 140px 0 48px;
  text-align: center;
  background: var(--bg);
}
.page-header h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 8px; }
.page-header p { color: var(--grey); font-size: 1rem; }

/* ── Footer ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p { font-size: 0.85rem; color: var(--grey); }

.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  text-decoration: none;
  color: var(--grey);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--dark); }

/* ── Responsive (shared) ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}
