:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #475569;
  --brand: #0f4c81;
  --brand-dark: #0b365b;
  --border: #dbe4f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--brand);
}

a:hover {
  color: var(--brand-dark);
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand span {
  font-size: 1.1rem;
  font-weight: 700;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 600;
}

main {
  padding: 2rem 0 2.5rem;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  margin-top: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.tagline {
  margin-top: -0.35rem;
  color: var(--muted);
  font-weight: 700;
}

.cta-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.muted {
  color: var(--muted);
}

footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 1.8rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer-tag {
  font-weight: 700;
  color: var(--muted);
}

@media (max-width: 740px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding: 1.4rem;
  }
}
