:root {
  --ink: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --accent: #6d28d9;
  --accent-2: #f59e0b;
  --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

main.landing {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.logo {
  width: 56px;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}
.logo.small {
  width: 72px;
  margin: 0 0 8px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

h1 { font-size: 2.4rem; margin: 8px 0 4px; }
.tagline { font-size: 1.3rem; color: var(--muted); font-weight: 600; }
.sub { color: var(--muted); margin-top: 20px; font-weight: 600; }

.analysis-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.analysis-list li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.verdicts { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; }
.verdict {
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  color: #fff;
}
.verdict-kill { background: #dc2626; }
.verdict-park { background: #d97706; }
.verdict-test { background: #2563eb; }
.verdict-pri { background: #16a34a; }

.form-card {
  margin-top: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
.hint { color: var(--muted); margin-top: -8px; }

form label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
form input, form textarea, form select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.opt { color: var(--muted); font-weight: 400; }

button {
  margin-top: 22px;
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #5b21b6; }

.error { color: #dc2626; font-weight: 600; }

/* report */
main.report { max-width: 640px; margin: 0 auto; padding: 40px 24px; }
.score-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 16px 0;
}
.big-score { font-size: 3.4rem; font-weight: 800; }
.big-score small { font-size: 1.2rem; color: var(--muted); font-weight: 400; }
.idea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-style: italic;
}
table.criteria { width: 100%; border-collapse: collapse; }
table.criteria td, table.criteria th {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
td.label { width: 40%; font-weight: 600; }
td.val { width: 40px; text-align: right; font-weight: 700; }
.bar-cell { width: 55%; }
.bar { background: var(--border); border-radius: 999px; height: 10px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); }
h2 { margin-top: 28px; font-size: 1.1rem; }
.rationale { color: var(--muted); }
.foot { margin-top: 40px; color: var(--muted); font-size: 0.85rem; text-align: center; }
