:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17201c;
  background: #f7f4ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #46524c;
  font-size: 15px;
}

nav a:hover {
  color: #111713;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hero {
  max-width: 760px;
  padding: 44px 0 38px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #b14d2f;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.intro {
  max-width: 680px;
  margin: 26px 0 0;
  color: #4d5a53;
  font-size: 20px;
  line-height: 1.65;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.site-card {
  display: grid;
  min-height: 178px;
  align-content: space-between;
  padding: 18px;
  border: 1px solid #d9d1c4;
  border-radius: 8px;
  background: #fffdf8;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.site-card:hover {
  transform: translateY(-3px);
  border-color: #9b948a;
  box-shadow: 0 18px 40px rgb(23 32 28 / 10%);
}

.site-card span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: #111713;
  font-size: 13px;
  font-weight: 800;
}

.site-card strong {
  margin-top: 28px;
  font-size: 21px;
  line-height: 1.2;
}

.site-card small {
  color: #68746d;
  font-size: 13px;
}

.accent-green span {
  background: #cde8ce;
}

.accent-blue span {
  background: #cfe2f3;
}

.accent-red span {
  background: #f5c8bd;
}

.accent-yellow span {
  background: #f2dc91;
}

.accent-slate span {
  background: #d8d5cf;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #ded6ca;
  color: #68746d;
  font-size: 14px;
}

@media (max-width: 860px) {
  .topbar,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding-top: 24px;
  }

  .site-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-card {
    min-height: 146px;
  }
}
