:root {
  --ink: #1c1c28; --muted: #6b6b7b; --bg: #f7f7fb; --card: #fff;
  --accent: #4b4bdb; --accent-ink: #fff; --line: #e3e3ee; --error: #c0392b;
  --radius: 12px;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.5;
}
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.2rem; background: var(--card); border-bottom: 1px solid var(--line);
}
.site-header .brand { font-weight: 700; text-decoration: none; color: var(--ink); }
.site-header nav { display: flex; gap: 1rem; align-items: center; }
.container { max-width: 720px; margin: 2rem auto; padding: 0 1rem; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; margin-bottom: 1.2rem;
}
h1 { margin-top: 0; font-size: 1.5rem; }
.prompt { font-size: 1.3rem; font-weight: 600; margin: .4rem 0 1.4rem; white-space: pre-line; }
label { display: block; margin: .6rem 0; }
input[type=text], input[type=email], input[type=password], input[type=number],
select, textarea { width: 100%; padding: .55rem .6rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; }
label.radio, label.check, label.dot, label.module-pick { display: flex; gap: .5rem; align-items: baseline; }
label.dot { display: inline-flex; margin-right: .6rem; }
button, .button {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 8px; padding: .6rem 1.1rem; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; margin-top: .8rem;
}
button.link { background: none; color: var(--accent); padding: .6rem .2rem; }
.actions { display: flex; gap: 1rem; align-items: center; }
.error { color: var(--error); font-weight: 600; }
.muted, .m-meta { color: var(--muted); font-size: .92rem; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 1rem 0; }
legend { font-weight: 600; padding: 0 .4rem; }
.voluntary-note, .ephemeral-note { background: #eef0ff; border: 1px solid #d7d9ff;
  padding: .7rem .9rem; border-radius: 8px; }
.disclosure { padding-left: 1.1rem; }
.bigcode { font-size: 2rem; font-weight: 800; letter-spacing: .12em; }
.joining { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
table.list, table.roster { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--line); }
table.roster th { text-align: left; padding: .4rem .6rem .4rem 0; white-space: nowrap; }
.scale-ends { display: flex; justify-content: space-between; color: var(--muted); }
.module-pick { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.m-name { font-weight: 600; }
.boundary { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); }
.demo-note { font-style: italic; }
.reflection-section { margin: 1rem 0; }
form.inline { display: inline; }
.mt { margin-top: 1rem; }
.site-footer { max-width: 720px; margin: 1rem auto 3rem; padding: 0 1rem; color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--muted); }

/* ── Reveal screen ── */
.reveal-screen h2 { font-size: 1.05rem; margin: 1.2rem 0 .4rem; }
.headline { background: #eef0ff; border: 1px solid #d7d9ff; border-radius: 8px; padding: .9rem 1.1rem; font-size: 1.1rem; }
.bars { margin: .4rem 0 1rem; }
.bar-row { display: grid; grid-template-columns: 9rem 1fr 2rem; gap: .6rem; align-items: center; margin: .3rem 0; }
.bar-label { font-size: .95rem; }
.bar { background: #edeef5; border-radius: 6px; height: 1.3rem; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); }
.bar-n { text-align: right; font-variant-numeric: tabular-nums; }
table.roster-means { width: 100%; border-collapse: collapse; }
table.roster-means th { text-align: left; font-weight: 500; padding: .3rem .6rem .3rem 0; }
table.roster-means td { padding: .3rem .5rem; font-variant-numeric: tabular-nums; }
table.roster-means tr.hl th, table.roster-means tr.hl td { font-weight: 700; }
.debrief { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.reveal-list { line-height: 2; }
