:root {
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1f2328;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #f48120;
  --accent-dark: #d96a0e;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 22px;
  border-radius: 20px 20px 10px 10px;
  background: linear-gradient(135deg, #f9a03f, var(--accent));
  box-shadow: 0 4px 12px rgba(244, 129, 32, 0.35);
}

.brand-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--accent-dark);
  border: 1px solid #fed7aa;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  display: grid;
  gap: 24px;
}

.hero-card,
.panel,
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 36px;
}

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

h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.08;
  max-width: 760px;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(244, 129, 32, 0.22);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 22px;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.panel {
  padding: 26px;
}

h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.endpoint-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.endpoint-list li,
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.endpoint-list li:first-child,
.info-row:first-of-type {
  border-top: none;
}

.endpoint-list li span:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.info-row span {
  color: var(--muted);
}

.info-row strong {
  font-size: 14px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .stats-grid,
  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 16px;
  }

  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .hero-card,
  .panel,
  .stat-card {
    padding: 18px;
  }

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

  h1 {
    font-size: 28px;
  }

  .lead {
    font-size: 15px;
  }
}
