:root {
  color-scheme: light dark;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #5b6975;
  --line: #dce3ea;
  --accent: #19715b;
  --accent-strong: #0f5b49;
  --shadow: 0 12px 32px rgba(26, 39, 52, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 17px;
}

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

nav a:hover,
footer a:hover {
  color: var(--accent-strong);
}

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

.hero {
  max-width: 840px;
  padding: 54px 0 36px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

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

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}

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

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

.metrics,
.content-grid,
.dashboard,
.status-list {
  display: grid;
  gap: 14px;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.content-grid,
.dashboard {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.metrics article,
.content-grid article,
.dashboard article,
.status-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metrics article {
  padding: 22px;
}

.content-grid article,
.dashboard article {
  padding: 24px;
}

.metric-value {
  display: block;
  font-size: 31px;
  font-weight: 800;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page {
  padding-top: 80px;
}

.page.narrow {
  max-width: 820px;
}

.status-list {
  max-width: 760px;
  margin-top: 34px;
}

.status-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-dot.ok {
  background: #28a36f;
  box-shadow: 0 0 0 5px rgba(40, 163, 111, 0.14);
}

.dashboard strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
}

footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 28px 24px 40px;
  color: var(--muted);
  font-size: 14px;
}

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

  nav {
    flex-wrap: wrap;
  }

  main {
    padding-top: 32px;
  }

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

  .status-row {
    grid-template-columns: auto 1fr;
  }

  .status-row span:last-child {
    grid-column: 2;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101418;
    --surface: #171d22;
    --text: #edf2f5;
    --muted: #a8b4bf;
    --line: #2a343d;
    --accent: #2f9b78;
    --accent-strong: #70d2b2;
    --shadow: none;
  }
}
