:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e2e8f0;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #1d4ed8 0, transparent 30rem), #0f172a; }
.app-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0; }
.hero, .controls, .embed-card { background: rgba(15, 23, 42, 0.78); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 24px; box-shadow: 0 24px 80px rgba(2, 6, 23, 0.36); }
.hero { padding: 2.5rem; margin-bottom: 1rem; }
.eyebrow { color: #93c5fd; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0.5rem 0 1rem; font-size: clamp(2.25rem, 6vw, 4.5rem); line-height: 0.95; }
.intro { max-width: 720px; color: #cbd5e1; font-size: 1.08rem; line-height: 1.7; }
.controls { padding: 1.25rem; margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.55rem; font-weight: 700; }
.control-row { display: flex; gap: 0.75rem; }
input { flex: 1; min-width: 0; border: 1px solid #475569; border-radius: 14px; background: #020617; color: #f8fafc; font: inherit; padding: 0.95rem 1rem; }
button { border: 0; border-radius: 14px; background: linear-gradient(135deg, #60a5fa, #2563eb); color: white; cursor: pointer; font: inherit; font-weight: 800; padding: 0.95rem 1.2rem; }
button:hover { filter: brightness(1.08); }
button:disabled { cursor: wait; filter: grayscale(0.35); opacity: 0.72; }
.status { min-height: 1.5rem; margin: 0.75rem 0 0; color: #bfdbfe; }
.embed-card { overflow: hidden; padding: 0.75rem; }
#hyperbeam-container { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; background: #020617; overflow: hidden; }
.embed-placeholder { display: grid; place-items: center; color: #94a3b8; text-align: center; }
#hyperbeam-container iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 720px) { .app-shell { padding: 1rem 0; } .hero { padding: 1.5rem; } .control-row { flex-direction: column; } }
