:root {
  --bg: #f7f8fb;
  --ink: #17202a;
  --muted: #637083;
  --line: #d8dee8;
  --panel: #ffffff;
  --panel-strong: #eef4f2;
  --accent: #23635a;
  --accent-strong: #17463f;
  --gold: #b97b25;
  --blue: #285a8f;
  --shadow: 0 22px 70px rgba(23, 32, 42, 0.11);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

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

.brand-mark {
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.top-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.top-nav a {
  color: var(--muted);
}

.top-nav a:hover {
  color: var(--accent-strong);
}

.hero {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  margin: 0 auto;
  max-width: 1160px;
  min-height: calc(100vh - 128px);
  padding: 36px 24px 76px;
}

.hero-copy h1 {
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 22px;
}

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

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

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

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

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--accent-strong);
}

.hero-visual {
  background:
    linear-gradient(135deg, rgba(35, 99, 90, 0.11), rgba(40, 90, 143, 0.07)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 440px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.hero-visual::before {
  background-image:
    linear-gradient(rgba(23, 32, 42, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 42, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  inset: 0;
  opacity: 0.6;
  position: absolute;
}

.status-strip,
.signal-board {
  position: relative;
  z-index: 1;
}

.status-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}

.status-strip span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-strip strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.signal-board {
  background: rgba(255, 255, 255, 0.91);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px;
}

.signal-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 58px;
}

.signal-row:last-of-type {
  border-bottom: 0;
}

.signal-row span {
  color: var(--ink);
  font-weight: 700;
}

.signal-row strong {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.chart-lines {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  height: 140px;
  margin-top: 26px;
}

.chart-lines span {
  background: linear-gradient(180deg, var(--blue), var(--accent));
  border-radius: 8px 8px 2px 2px;
  display: block;
}

.chart-lines span:nth-child(1) {
  height: 48%;
}

.chart-lines span:nth-child(2) {
  height: 72%;
}

.chart-lines span:nth-child(3) {
  height: 56%;
}

.chart-lines span:nth-child(4) {
  height: 88%;
}

.section {
  margin: 0 auto;
  max-width: 1160px;
  padding: 48px 24px 76px;
}

.section-heading {
  max-width: 680px;
}

.section-heading h2 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 10px;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

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

.dashboard-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 210px;
  padding: 20px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.dashboard-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.dashboard-code {
  align-items: center;
  background: var(--panel-strong);
  border-radius: 8px;
  color: var(--accent-strong);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 28px;
  width: 48px;
}

.dashboard-card h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.dashboard-card p {
  color: var(--muted);
  margin: 0;
}

.setup-section {
  padding-top: 24px;
}

.setup-list {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 28px;
}

.setup-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-height: 64px;
  padding: 16px 20px;
}

.setup-list div:last-child {
  border-bottom: 0;
}

.setup-list span {
  color: var(--muted);
  font-weight: 700;
}

.setup-list strong {
  color: var(--ink);
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  text-align: right;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 28px 24px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .top-nav {
    width: 100%;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-visual {
    min-height: 380px;
    padding: 16px;
  }

  .status-strip,
  .signal-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

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