:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --line: #ccd7cf;
  --text: #1f2522;
  --muted: #66736c;
  --accent: #116a6c;
  --accent-strong: #0b4c53;
  --warm: #b25d2b;
  --shadow: 0 12px 30px rgba(22, 31, 29, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.index-shell {
  max-width: 980px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 24px;
}

.index-header {
  display: grid;
  gap: 8px;
  margin-bottom: 26px;
}

.index-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.index-header p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.demo-section {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.section-heading {
  display: grid;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2,
.section-heading p {
  margin: 0;
}

.section-heading h2 {
  color: var(--accent-strong);
  font-size: 1.25rem;
  line-height: 1.1;
}

.section-heading p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.45;
}

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

.demo-card {
  display: grid;
  gap: 9px;
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

a.demo-card:hover {
  border-color: var(--accent);
}

.demo-card.muted {
  opacity: 0.74;
}

.demo-status {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-title {
  color: var(--accent-strong);
  font-size: 1.1rem;
  font-weight: 850;
}

.demo-detail {
  color: var(--muted);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .index-shell {
    padding: 24px 16px;
  }

  .demo-list {
    grid-template-columns: 1fr;
  }
}
