:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5c6962;
  --line: #d9e0da;
  --surface: #f7f9f6;
  --panel: #ffffff;
  --green: #1d5d44;
  --green-2: #2f7657;
  --gold: #c78932;
  --blue: #387f9f;
  --shadow: 0 16px 40px rgba(23, 33, 29, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 249, 246, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

nav a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 56px 40px 72px;
  max-width: 1220px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 18px;
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.small {
  max-width: 560px;
  font-size: 13px;
}

.map-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #cbd8cf;
  border-radius: 8px;
  background: #dbe6dc;
  box-shadow: var(--shadow);
}

.map-grid {
  position: absolute;
  inset: -80px;
  background:
    linear-gradient(115deg, rgba(35, 93, 65, 0.22) 1px, transparent 1px) 0 0 / 92px 92px,
    linear-gradient(18deg, rgba(56, 127, 159, 0.22) 1px, transparent 1px) 0 0 / 126px 126px,
    repeating-linear-gradient(168deg, transparent 0 44px, rgba(41, 106, 72, 0.18) 45px 47px);
}

.parcel {
  position: absolute;
  border: 5px solid var(--green);
  background: rgba(255, 255, 255, 0.62);
  clip-path: polygon(8% 18%, 76% 5%, 92% 56%, 58% 88%, 14% 72%);
}

.parcel-a {
  inset: 72px 82px 172px 74px;
}

.parcel-b {
  right: 52px;
  bottom: 54px;
  width: 260px;
  height: 190px;
  transform: rotate(-7deg);
}

.pin {
  position: absolute;
  top: 212px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translateX(-50%) rotate(45deg);
  border: 10px solid #7a431d;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
}

.pin::after {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff2cf;
}

.map-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(23, 33, 29, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.map-label span {
  color: var(--muted);
  font-size: 13px;
}

.band {
  padding: 56px 40px;
  border-top: 1px solid var(--line);
}

.band.compact {
  padding-top: 38px;
}

.section-head,
.dashboard,
.status-table {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 22px;
}

.section-head p {
  max-width: 760px;
}

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

article,
.status-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.05);
}

article {
  padding: 20px;
}

.link-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.link-list li,
.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #edf1ed;
}

.link-list li:first-child,
.status-row:first-child {
  border-top: 0;
}

.link-list a {
  font-weight: 720;
  color: var(--green);
}

.link-list span,
.status-row span:last-child {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.checks {
  display: grid;
  gap: 12px;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 9px;
}

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

.county {
  padding: 10px 12px;
  border: 1px solid #dce5dd;
  border-radius: 8px;
  background: #f7faf7;
  font-weight: 700;
}

.status-table {
  padding: 12px 20px;
}

.status-good {
  color: var(--green-2);
  font-weight: 760;
}

.status-waiting {
  color: #895f1e;
  font-weight: 760;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .topbar {
    padding: 0 18px;
  }

  nav {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 34px 18px 42px;
  }

  .map-panel {
    min-height: 380px;
  }

  .band {
    padding: 38px 18px;
  }

  .dashboard {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
