:root {
  /* Brand */
  --green-deep: #174F48;
  --green: #679B58;
  --green-light: #8EBB68;

  /* Environmental data */
  --water: #3295B5;
  --water-light: #83C6D5;
  --energy: #C69A45;
  --flood: #B66A55;

  /* Neutrals */
  --ink: #26312C;
  --muted: #65716D;
  --cream: #F7F6F1;
  --white: #FFFFFF;
  --border: #DDE3DE;

  /* Layout */
  --content-width: 1280px;
  --dashboard-width: 1360px;
  --gutter: 40px;

  /* Typography */
  --font-ui: "Montserrat", sans-serif;
  --font-editorial: "Newsreader", serif;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-editorial);
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  font-size: 56px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 30px;
}

.container {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--content-width);
  margin-inline: auto;
}

.dashboard-container {
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--dashboard-width);
  margin-inline: auto;
}

.site-header {
  height: 88px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: var(--radius-pill);
  font: 600 14px/1 var(--font-ui);
  text-decoration: none;
}

.button-primary {
  background: var(--green-deep);
  color: var(--white);
}

.button-secondary {
  border: 1px solid var(--green-deep);
  color: var(--green-deep);
  background: transparent;
}

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.metric-value {
  font: 500 48px/0.95 var(--font-ui);
  color: var(--green-deep);
}

.metric-label {
  margin-top: 10px;
  color: var(--muted);
  font: 600 12px/1.2 var(--font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map {
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

@media (max-width: 900px) {
  :root {
    --gutter: 24px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 27px;
  }

  .site-header {
    height: 72px;
  }

  .metric-value {
    font-size: 38px;
  }

  .map {
    min-height: 420px;
  }
}
