:root {
  --navy: #011633;
  --blue-strong: #0067b0;
  --text: #2a3b52;
  --muted: #536175;
  --line: #dfe4ea;
  --bg: #fbfcfd;
  --font: ui-sans-serif, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(60rem 30rem at 100% 0%, #eaf5ff, transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, #f1f4f8, transparent 65%), var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

header {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
}

.logo {
  display: block;
  width: clamp(8.5rem, 22vw, 11rem);
  height: auto;
}

main {
  display: grid;
  align-items: center;
  padding-block: clamp(2rem, 8vw, 6rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--blue-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: currentColor;
  content: '';
}

h1 {
  max-width: 14ch;
  color: var(--navy);
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.75rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead {
  max-width: 38rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
}

.services-title {
  margin: clamp(2.75rem, 7vw, 4.5rem) 0 1.25rem;
}

.services {
  display: grid;
  gap: 1px;
  max-width: 56rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  list-style: none;
}

.services li {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 1.375rem 1.5rem;
  background: #fff;
}

.services strong {
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 600;
}

.services span {
  color: var(--muted);
  font-size: 0.9375rem;
}

.services .num {
  color: var(--blue-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

@media (min-width: 48rem) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

footer {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--blue-strong);
  outline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 2rem;
  padding: 0 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: var(--blue-strong);
}
