:root {
  --primary: #0c1a3f;
  --accent: #2653e6;
  --bg: #f5f6f8;
  --text: #0c1a3f;
  --muted: #607195;
  --card: #ffffff;

  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

/* reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* header */

header {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: white;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

header p {
  margin: 0 0 0.5rem 0;
  opacity: 0.9;
  font-weight: 500;
}

header h1 {
  margin: 0;
  font-size: clamp(2.3rem, 3vw, 3rem);
  letter-spacing: -0.02em;
}

header > p:last-of-type {
  margin-top: 0.6rem;
  max-width: 680px;
  opacity: 0.95;
}

/* navigation */

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.3rem;
  justify-content: center;
}

nav a,
section a {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background-color: rgba(255,255,255,0.14);
  color: white;
  transition: background 0.2s ease, transform 0.15s ease;
}

nav a:hover {
  background-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* layout */

main {
  padding: 2.2rem 1.5rem 3rem;
}

/* content cards */

section {
  max-width: 940px;
  margin: 0 auto 2rem;
  background: var(--card);
  padding: 1.6rem;
  border-radius: 1rem;

  box-shadow:
  0 8px 18px rgba(0,0,0,0.06),
  0 2px 4px rgba(0,0,0,0.05);
}

section h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

section p {
  margin-top: 0;
}

section ul {
  padding-left: 1.3rem;
  margin: 0.5rem 0;
}

.page main section {
  text-align: center;
}

.page main section ul,
.page main section ol {
  text-align: left;
  display: inline-block;
}

.cta-highlight {
  max-width: 940px;
  margin: 0 auto 2rem;
  background: linear-gradient(120deg, var(--accent), #4d7cff);
  color: white;
  padding: 1.8rem;
  border-radius: 1rem;
  box-shadow:
    0 12px 24px rgba(0,0,0,0.18),
    0 4px 10px rgba(0,0,0,0.12);
  text-align: center;
}

.cta-highlight h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.65rem;
}

.cta-highlight p {
  margin: 0 0 0.8rem 0;
  color: rgba(255,255,255,0.9);
}

.cta-highlight a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.4rem;
  background: white;
  color: var(--primary);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-highlight a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.18);
}

/* CTA grid */

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cta-grid a,
.page-actions a {
  display: inline-block;
  text-align: center;
  padding: 0.9rem 1rem;
  background: var(--primary);
  color: white;
  border-radius: 0.75rem;
  text-decoration: none;
  font-weight: 600;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-grid a:hover,
.page-actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

/* footer */

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: #e1e5ec;
}

footer p {
  margin: 0.2rem 0;
}

footer .legal-links {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 600;
}

footer .legal-links a {
  color: var(--primary);
  text-decoration: none;
}

footer .legal-links a:hover {
  text-decoration: underline;
}

footer .legal-links span {
  color: var(--muted);
}

/* mobile */

@media (max-width: 600px) {

  header {
    padding: 2.5rem 1.2rem 2rem;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
  }

  nav a {
    text-align: center;
  }

  section {
    padding: 1.3rem;
  }

}
