:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5f6d66;
  --line: #d8ded8;
  --surface: #f7f8f5;
  --panel: #ffffff;
  --green: #164934;
  --mint: #d9f0e0;
  --gold: #f0c96c;
  --coral: #e56f56;
  --shadow: 0 24px 70px rgba(31, 43, 38, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(217, 240, 224, 0.95), rgba(247, 248, 245, 0.94) 42%, rgba(240, 201, 108, 0.36)),
    var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
}

.nav-actions {
  gap: 14px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 26px rgba(22, 73, 52, 0.22);
}

.button-secondary {
  border-color: rgba(23, 33, 29, 0.14);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 56px;
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 90px);
  align-items: center;
  margin: 0 auto;
  padding: 34px 0 76px;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

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

.product-panel {
  overflow: hidden;
  border: 1px solid rgba(23, 33, 29, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.panel-toolbar {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.panel-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

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

.metric,
.wide-module {
  border: 1px solid rgba(23, 33, 29, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.metric {
  min-height: 142px;
}

.metric p,
.wide-module span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 18px;
  font-size: 34px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
}

.metric-accent {
  background: var(--mint);
}

.wide-module {
  grid-column: 1 / -1;
}

.module-header,
.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.module-header {
  padding-bottom: 14px;
}

.module-header strong {
  color: var(--green);
  font-size: 13px;
}

.task-row {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.task-row:last-child {
  padding-bottom: 0;
}

.task-row strong {
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 28px, 1120px);
    padding: 18px 0;
  }

  .nav-actions {
    gap: 10px;
  }

  .text-link {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 1120px);
    min-height: auto;
    gap: 34px;
    padding: 28px 0 44px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero-text {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 15px;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

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

  .wide-module {
    grid-column: auto;
  }
}
