/* SAGA test build: deliberately plain. Anna's design replaces this. */
:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f3f4f6;
  --accent: #2563eb;
  --bad: #b91c1c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}
.test-banner {
  background: #fef3c7;
  color: #92400e;
  padding: 8px 16px;
  font-size: 14px;
  text-align: center;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
section { padding: 40px 0; border-bottom: 1px solid var(--line); }
h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.15; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: 14px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding: 0; margin: 16px 0 0; list-style: none; }
.tools a { display: block; padding: 10px; border: 1px solid var(--line); border-radius: 6px; color: inherit; text-decoration: none; }
.previews { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.preview { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--soft); border: 1px dashed #9ca3af; border-radius: 6px; color: var(--muted); font-size: 14px; }
label { display: block; margin: 14px 0 4px; font-weight: 600; font-size: 14px; }
input[type="text"], input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font: inherit;
}
label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 4px; }
.error { color: var(--bad); font-size: 14px; min-height: 1.5em; margin: 8px 0; }
.panel { background: var(--soft); border-radius: 8px; padding: 20px; }
footer { padding: 24px 0 48px; color: var(--muted); font-size: 14px; }
footer a { color: inherit; }
@media (max-width: 520px) {
  .previews { grid-template-columns: 1fr; }
}
