:root {
  --bg: #f7f7f5;
  --ink: #1c314c;       /* Primary brand color for text/icons */
  --muted: #4b5563;
  --accent: #1c314c;    /* Use logo color for buttons and accents */
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--card);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .3px;
}

.brand img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.hero {
  text-align: center;
}

h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  margin: 12px 0 8px;
}

.tagline {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  margin-top: 0;
}

.card {
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(15, 29, 44, 0.05);
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 860px) {
  .grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn:hover {
  background: #2b4a6b; /* Slightly lighter tone of #1c314c */
}

.nav {
  background: #1c314c;
}

.nav a {
  color: #ffffff;
}

.nav a:hover {
  opacity: 0.8;
}

.brand span {
  color: #ffffff;
}

.section {
  padding: 24px;
}

footer {
  margin-top: 48px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}


/* --- Responsive Navigation --- */

.menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

.nav {
  background: #1c314c;
  color: #ffffff;
  flex-wrap: wrap;
}

.nav .brand span {
  color: #ffffff;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #1c314c;
    text-align: center;
    padding: 12px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 10px 0;
  }
}