:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body, html {
  min-height: 100%;
  margin: 0;
}

body {
  background: radial-gradient(circle at top, rgba(59,130,246,0.25), transparent 32%),
              radial-gradient(circle at right, rgba(16,185,129,0.2), transparent 28%),
              linear-gradient(180deg, #020617 0%, #0c172b 100%);
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
}

.hero {
  padding: 28px;
  border: 1px solid rgba(148,163,184,0.18);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 3vw, 4rem);
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  max-width: 40rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.content {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.agenda {
  padding: 28px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148,163,184,0.12);
}

.agenda h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.agenda ul {
  margin: 16px 0 0;
  padding-left: 1.3rem;
  line-height: 1.9;
}

.agenda li {
  margin-bottom: 0.8rem;
}

.status {
  padding: 20px 24px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px dashed rgba(56,189,248,0.35);
  color: #bfdbfe;
}

.error-screen {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.92);
  z-index: 50;
}

.hidden {
  display: none;
}

.error-box {
  width: min(720px, 92vw);
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid #334155;
  background: #020617;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.error-box h2 {
  margin: 0 0 20px;
  font-size: 2rem;
  color: #f87171;
}

.messages {
  min-height: 160px;
  font-family: "Fira Code", monospace, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #e2e8f0;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.messages span {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.25s ease forwards;
}

.error-box .footer {
  margin-top: 24px;
  color: #94a3b8;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
