:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #2563eb;
}

main {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
  padding: clamp(1rem, 2vw, 1.5rem);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

p,
li {
  line-height: 1.65;
  color: var(--muted);
}

ol,
ul {
  margin: 0;
  padding-left: 1.15rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
}

.benefits-list li {
  border: 1px solid var(--border);
  border-radius: 0.7rem;
  padding: 0.55rem 0.75rem;
  background: #f8fbff;
  color: #1e293b;
}

pre {
  margin: 0;
  overflow-x: auto;
  border-radius: 0.7rem;
  border: 1px solid var(--border);
  background: #f8fafc;
  padding: 0.75rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.3rem 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

small {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
