.shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 18px;
  font-family: Inter, Arial, sans-serif;
  color: #0f172a;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  min-height: 100vh;
}

.hero {
  background: #111827;
  color: #f8fafc;
  border-radius: 16px;
  padding: 20px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}

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

#subtitle {
  margin-top: 8px;
  color: #dbeafe;
}

.copy-grid,
label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  margin-top: 12px;
}

.copy-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #dbeafe;
  padding: 16px;
  display: grid;
  gap: 10px;
}

label {
  font-size: 0.92rem;
}

input,
button,
a.cta {
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px;
  width: 100%;
  font-size: 1rem;
}

input:focus {
  outline: 2px solid #93c5fd;
}

button {
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}

.result {
  background: #f8fafc;
}

.result p {
  padding: 8px 0;
  border-bottom: 1px dashed #dbeafe;
}

.result p:last-of-type { border-bottom: none; }

.hidden { display: none; }

.good {
  color: #15803d;
  font-weight: 700;
}

.bad {
  color: #b91c1c;
  font-weight: 700;
}

.cta {
  display: inline-block;
  text-align: center;
  width: fit-content;
  text-decoration: none;
  color: white;
  background: #0ea5e9;
  padding: 11px 16px;
  margin-top: 8px;
}

.hint { color: #475569; font-size: .9rem; }

@media (max-width: 720px) {
  .shell { padding: 14px; }
  .copy-grid { grid-template-columns: 1fr; }
}


.live-preview-gallery {
  margin-top: 1.5rem;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.preview-grid figure {
  margin: 0;
  padding: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.72);
}

.preview-grid img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255,255,255,0.12);
}

.preview-grid figcaption {
  margin-top: 0.55rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}
