:root {
  --rm-ink: #172033;
  --rm-muted: #64748b;
  --rm-line: #d9e2ec;
  --rm-panel: #f8fafc;
  --rm-blue: #2563eb;
  --rm-teal: #0f766e;
  --rm-rose: #be123c;
  --rm-gold: #b7791f;
}

body {
  color: var(--rm-ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 0.98;
  margin: 0 0 1rem;
}

.hero p {
  font-size: 1.08rem;
  color: var(--rm-muted);
}

.hero img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  border: 1px solid var(--rm-line);
}

.callout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.callout-card {
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: var(--rm-panel);
  padding: 1rem;
}

.callout-card h3 {
  margin-top: 0;
  font-size: 1rem;
}

.repo-list code {
  white-space: normal;
}

iframe.demo {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--rm-line);
  border-radius: 8px;
  background: #07101d;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }
}
