:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-border: rgba(24, 32, 46, 0.08);
  --text: #18202e;
  --muted: #5f6b7a;
  --accent: #1f4f8f;
  --accent-hover: #173d6f;
  --shadow: 0 24px 60px rgba(24, 32, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page-background,
.page-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-background {
  z-index: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.02);
}

.page-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(244, 248, 253, 0.48) 0%, rgba(237, 242, 249, 0.7) 100%),
    radial-gradient(circle at top left, rgba(31, 79, 143, 0.2), transparent 32%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

.container {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 112px 0 72px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--surface-border);
  background: rgba(255, 255, 255, 0.72);
}

.button-secondary:hover {
  border-color: rgba(24, 32, 46, 0.2);
}

.section {
  padding: 0 0 96px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.footer {
  padding: 0 0 32px;
  position: relative;
  z-index: 2;
}

.footer p {
  margin: 0;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1080px);
  }

  .hero {
    padding-top: 88px;
  }

  .lead {
    font-size: 1rem;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
