:root {
  --ink: #153d37;
  --muted: #5d716b;
  --teal: #087c70;
  --teal-dark: #045f56;
  --mint: #e7f5f1;
  --paper: #fffef8;
  --line: #d8e5df;
  --amber: #fff2cf;
  --green: #ddf4e7;
  --soft: #f4f8f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.hero {
  background: linear-gradient(180deg, var(--paper), var(--mint));
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.page,
.footer-inner {
  margin: 0 auto;
  max-width: 1120px;
  padding: 44px 22px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 68px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 860px;
}

.hero p {
  color: var(--muted);
  font-size: 20px;
  margin: 0;
  max-width: 760px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  background: var(--teal);
  border-radius: 8px;
  color: white;
  display: inline-block;
  font-weight: 750;
  padding: 12px 16px;
}

.button.secondary {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover {
  text-decoration: none;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.muted {
  color: var(--muted);
}

.badge {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  margin: 0 6px 8px 0;
  padding: 5px 9px;
}

.badge.verified {
  background: var(--green);
  color: #17642b;
}

.badge.community_reported {
  background: var(--amber);
  color: #75510a;
}

.badge.needs_confirmation {
  background: #eceff1;
  color: #425057;
}

.filters {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 220px auto;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 5px;
}

input,
select {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
  width: 100%;
}

.list {
  display: grid;
  gap: 14px;
}

.place-title {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.note {
  background: var(--mint);
  border: 1px solid #b8dcd6;
  border-radius: 8px;
  padding: 14px 16px;
}

@media (max-width: 760px) {
  .nav,
  .place-title {
    display: block;
  }

  .links {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .grid,
  .filters {
    grid-template-columns: 1fr;
  }
}
