:root {
  color-scheme: dark;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: #0a0f1c;
  color: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(249, 115, 22, 0.16),
      transparent 32rem
    ),
    #0a0f1c;
}

button {
  font: inherit;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 4rem 2rem;
}

.hero {
  max-width: 760px;
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.5rem;

  color: #fb923c;

  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;

  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.lead {
  max-width: 680px;

  color: #a5b4c7;

  font-size: 1.15rem;
  line-height: 1.7;
}

.preview-note {
  display: inline-block;

  padding: 0.4rem 0.75rem;

  border: 1px solid #374151;
  border-radius: 999px;

  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.8);

  font-size: 0.9rem;
}

.features {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;

  margin-bottom: 1rem;
}

.card,
.status-panel {
  border: 1px solid #1f2937;
  border-radius: 1rem;

  background: rgba(15, 23, 42, 0.82);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.18);
}

.card {
  padding: 1.4rem;
}

.card h2 {
  font-size: 1.05rem;
}

.card p {
  margin-bottom: 0;

  color: #94a3b8;
  line-height: 1.6;
}

.status-panel {
  padding: 1.5rem;
}

.status-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.status-header h2 {
  margin-bottom: 0;
}

button {
  padding: 0.65rem 1rem;

  border: 0;
  border-radius: 0.6rem;

  color: #111827;
  background: #fb923c;

  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #fdba74;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.status-message {
  margin-block: 1.5rem;

  color: #93c5fd;
}

.status-message.error {
  color: #fca5a5;
}

.status-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;

  margin: 0 0 1.5rem;
}

.status-grid div {
  padding: 1rem;

  border: 1px solid #273449;
  border-radius: 0.75rem;

  background: rgba(2, 6, 23, 0.35);
}

dt {
  margin-bottom: 0.35rem;

  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
}

dd {
  margin: 0;

  overflow-wrap: anywhere;
  font-weight: 700;
}

details {
  border-top: 1px solid #273449;
  padding-top: 1rem;
}

summary {
  cursor: pointer;
}

pre {
  max-height: 24rem;
  overflow: auto;

  padding: 1rem;

  border-radius: 0.75rem;

  background: #020617;
  color: #bfdbfe;
}

footer {
  padding-top: 2rem;

  color: #64748b;
  text-align: center;
}

@media (max-width: 580px) {
  .container {
    padding-top: 2rem;
  }

  .status-header {
    align-items: stretch;
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
