* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7fb;
  color: #111827;
}

.app {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: 28px 0 44px;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: white;
  border-radius: 26px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 18px 50px rgba(15,23,42,.18);
}

.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #bfdbfe;
}

h1 { margin: 0 0 12px; font-size: clamp(30px, 5vw, 52px); }
h2 { margin-top: 0; color: #0f172a; }

.status {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: 12px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: white;
  border-radius: 22px;
  padding: 22px;
  margin-top: 18px;
  box-shadow: 0 12px 35px rgba(15,23,42,.08);
}

button {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 6px 6px 6px 0;
  background: #2563eb;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button.secondary { background: #475569; }
button.danger { background: #dc2626; }
button.success { background: #16a34a; }

textarea, input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 15px;
  margin: 8px 0;
}

pre {
  background: #020617;
  color: #dbeafe;
  border-radius: 16px;
  padding: 16px;
  white-space: pre-wrap;
  min-height: 120px;
}

.badge {
  display: inline-block;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  margin: 4px;
}

.note {
  background: #fff7ed;
  border-left: 4px solid #f97316;
  padding: 12px;
  border-radius: 12px;
}

.preview-row { margin: 10px 0; }

.label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .hero, .grid { grid-template-columns: 1fr; display: block; }
  .status { display: inline-block; margin-top: 12px; }
}
