:root {
  --navy: #17324d;
  --navy-deep: #0f2235;
  --blue: #245d8d;
  --line: #d7e1ea;
  --line-strong: #c4d0db;
  --text: #1f2e3b;
  --muted: #607181;
  --bg: #f4f7fa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #eef3f7 0, #eef3f7 180px, var(--bg) 180px, var(--bg) 100%);
}

.site-shell {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  border-top: 5px solid var(--blue);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.4rem 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
}

.brand__name {
  color: var(--navy-deep);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand__subtle {
  color: var(--muted);
  font-size: 0.95rem;
}

.directory {
  margin-top: 2.25rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.directory__head,
.directory__row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 110px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
}

.directory__head {
  border-bottom: 1px solid var(--line-strong);
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory__row {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background-color 140ms ease;
}

.directory__row:last-child {
  border-bottom: 0;
}

.directory__row:hover,
.directory__row:focus-visible {
  background: #f7fafc;
}

.directory__row:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.directory__service {
  color: var(--navy-deep);
  font-size: 1.12rem;
  font-weight: 700;
}

.directory__action {
  color: var(--blue);
  font-weight: 700;
  text-align: right;
}

.site-footer {
  padding: 1.75rem 0 3rem;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1rem, 100%);
  }

  .directory__head {
    display: none;
  }

  .directory__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .directory__action {
    text-align: left;
  }
}
