:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #d8dee8;
  --accent: #176b87;
  --accent-dark: #0f4054;
  --focus: #b98124;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
}

.brand small,
.status,
.footer {
  color: var(--muted);
}

.status {
  margin: 0;
  font-size: 0.95rem;
}

.intro {
  padding: 52px 0 32px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.service {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 282px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #e7f1f5;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

.service h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.service p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

.service-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 840px) {
  .services {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1120px);
    padding-top: 14px;
  }

  .masthead,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    padding-top: 34px;
  }
}
