:root {
  color-scheme: light;
  --background: #f5f7fb;
  --surface: #ffffff;
  --surface-alt: #eaf2ff;
  --text: #162033;
  --muted: #56627a;
  --primary: #1459d9;
  --primary-dark: #0d3d96;
  --border: #d8e1f0;
  --shadow: 0 20px 45px rgba(14, 29, 58, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eff4ff 0%, var(--background) 100%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.hero,
.section {
  padding: 4rem 1.5rem;
}

.hero__content,
.section__heading,
.grid,
.highlights,
.contact-copy {
  max-width: 70rem;
}

.hero__content,
.section__heading,
.contact-copy {
  margin: 0 auto;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__content h1,
.section__heading h2 {
  margin: 0;
  line-height: 1.15;
}

.hero__content h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.75rem);
}

.intro,
.contact-copy {
  max-width: 42rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease, outline-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
  outline: 3px solid rgba(20, 89, 217, 0.25);
  outline-offset: 3px;
}

.button--secondary {
  background: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: #0c1726;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin: 2rem auto 0;
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.section--accent {
  background: var(--surface-alt);
}

.highlights {
  margin: 2rem auto 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero,
  .section {
    padding: 3rem 1.25rem;
  }
}
