*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #f6821f; /* Cloudflare orange */
  --radius: 14px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at top, #1e293b 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  line-height: 1.1;
  margin: 1rem 0 0.5rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

code {
  background: rgba(246, 130, 31, 0.15);
  color: var(--accent);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.9em;
}

.pipeline {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.step {
  flex: 1;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid #334155;
}

.step .icon {
  font-size: 2rem;
}

.step h2 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.25rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.arrow {
  align-self: center;
  font-size: 1.5rem;
  color: var(--accent);
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid #334155;
}

.card h2 {
  font-size: 1.75rem;
  margin-top: 0;
}

.info {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.info li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #334155;
}

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

button {
  background: var(--accent);
  color: #111827; /* dark text: ~7:1 contrast on orange */
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

button:active {
  transform: scale(0.97);
}

footer {
  text-align: center;
  color: var(--muted);
  margin-top: 3rem;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .pipeline {
    flex-direction: column;
  }
  .arrow {
    transform: rotate(90deg);
  }
}

.changelog {
  margin-bottom: 3rem;
  border-color: var(--accent);
}

.changelog ul {
  margin: 0;
  padding-left: 1.25rem;
}

.changelog li {
  margin: 0.4rem 0;
}

.changelog li::marker {
  color: var(--accent);
}
