:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --panel: #ffffff;
  --text: #141b2d;
  --muted: #647084;
  --line: #dfe6f1;
  --blue: #2563eb;
  --blue-soft: #eaf2ff;
  --shadow: 0 18px 48px rgb(20 27 45 / 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(135deg, rgb(37 99 235 / 0.1), transparent 34rem),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(32px, 7vw, 80px) 0;
}

.hero {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

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

.public-services {
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
}

.service {
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.86);
  box-shadow: var(--shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service:hover,
.service:focus-visible {
  border-color: rgb(37 99 235 / 0.42);
  box-shadow: 0 22px 54px rgb(37 99 235 / 0.12);
  transform: translateY(-2px);
  outline: none;
}

.service.primary {
  background: linear-gradient(135deg, var(--panel), var(--blue-soft));
}

.icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

strong,
small {
  display: block;
}

strong {
  font-size: 17px;
}

small {
  margin-top: 5px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

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

  .service {
    min-height: 96px;
  }
}
