:root {
  --background: #f7f8fa;
  --surface: #ffffff;
  --text: #16202a;
  --muted: #53606d;
  --accent: #015ab4ff;
  --accent-dark: #103b5b;
  --border: #dce2e7;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behaviour: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.container {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 2rem;
}

.brand {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.hero {
  padding: 7rem 0;
  background: linear-gradient(135deg, #eef4f8, #ffffff);
}

.eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  margin: 0.5rem 0 1rem;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.05;
}

.intro {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0.35rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
}

section:not(.hero) {
  padding: 5rem 0;
}

section:nth-child(odd) {
  background: var(--surface);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services article {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--surface);
}

a {
  color: var(--accent);
}

footer {
  padding: 2rem 0;
  background: #16202a;
  color: #ffffff;
}

@media (max-width: 700px) {
  header .container {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  .hero {
    padding: 4.5rem 0;
  }

  .services {
    grid-template-columns: 1fr;
  }
}