/* "Find your starting point". Same tokens and look as /readiness. */
:root {
  --primary: #234E70; --primary-deep: #16344C; --ground: #0D1B2A;
  --accent: #B87333; --accent-deep: #9A5E28; --accent-bright: #D08A47;
  --neutral: #7A7F86; --ink: #1F2933; --mid: #6B7280;
  --light-bg: #F7F8FA; --border: #E2E5EB; --white: #FFFFFF;
  --radius: 10px; --radius-lg: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Inter, "Open Sans", Arial, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--light-bg); }
h1, h2, h3 { font-family: Montserrat, Inter, Arial, sans-serif; color: var(--primary-deep); line-height: 1.2; }
a { color: var(--primary); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 980px; }
header img { height: 40px; display: block; }

main { padding: 28px 16px 40px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.intro h1 { font-size: clamp(30px, 6vw, 42px); font-weight: 900; margin: 8px 0 14px; }
.intro p { margin-bottom: 12px; }
.hint { font-size: 15px; color: var(--mid); margin-top: 6px; }
.opt { font-weight: 400; color: var(--mid); font-size: 14px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius);
  font: 700 16px Inter, sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-cta { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: var(--white); }
.btn-cta:hover { filter: brightness(1.06); }
.btn-cta:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn-ghost { background: var(--white); color: var(--primary); border: 2px solid var(--primary); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-link { background: none; color: var(--primary); text-decoration: underline; padding: 8px 4px; font-weight: 600; }

/* Question screens */
.progress { height: 6px; background: var(--light-bg); border-radius: 99px; overflow: hidden; }
.progress .bar { height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.count { font-size: 14px; color: var(--mid); margin: 10px 0 4px; }
.q { border: 0; min-width: 0; }
.q legend { font: 800 clamp(22px, 4.5vw, 28px)/1.25 Montserrat, Inter, sans-serif; color: var(--primary-deep); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.q legend + * { clear: both; }
.q .nudge { color: var(--mid); font-size: 16px; margin-bottom: 16px; }
.choices { display: grid; gap: 8px; }
.choices label { position: relative; cursor: pointer; display: block; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: block; border: 2px solid var(--border); border-radius: var(--radius); padding: 12px 14px 12px 44px; font-size: 16px; line-height: 1.4; position: relative; }
.choices span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #A7AFBA; background: var(--white); }
.choices input[type=radio] + span::before { border-radius: 50%; }
.choices input[type=checkbox] + span::before { border-radius: 4px; }
.choices input:checked + span { border-color: var(--primary); background: #EEF3F8; }
.choices input:checked + span::before { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 3px var(--white); }
.choices input:focus-visible + span { outline: 3px solid var(--accent-bright); outline-offset: 2px; }
.choices input:disabled + span { opacity: .45; cursor: not-allowed; }
.example { background: var(--light-bg); border-left: 4px solid var(--accent); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; font-style: italic; }
textarea, input:not([type=radio]):not([type=checkbox]), select {
  width: 100%; font: 400 16px/1.5 Inter, sans-serif; color: var(--ink); background: var(--white);
  border: 1px solid #C9CED6; border-radius: 8px; padding: 10px 12px; }
textarea { min-height: 96px; resize: vertical; }
textarea:focus, input:focus, select:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.other { margin-top: 10px; }
.nav { justify-content: space-between; margin-top: 22px; }
.error { color: #9B1C1C; background: #FDF2F2; border: 1px solid #F8B4B4; border-radius: 8px; padding: 10px 12px; font-size: 15px; margin-top: 14px; }

/* Result: everything is editable */
.result-head h1 { font-size: clamp(28px, 5.5vw, 38px); font-weight: 900; margin: 6px 0 8px; }
.result-head .stage-pick { display: block; margin-top: 14px; font-size: 15px; font-weight: 600; max-width: 360px; }
.result-head .stage-pick select { margin-top: 4px; }
.card h2 { font-size: 21px; margin-bottom: 4px; }
.card .sub { color: var(--mid); font-size: 15px; margin-bottom: 12px; }
.items { list-style: none; display: grid; gap: 10px; }
.item { display: flex; gap: 8px; align-items: flex-start; }
.item .fields { flex: 1; display: grid; gap: 6px; min-width: 0; }
.item textarea { min-height: 0; resize: none; overflow: hidden; }
.item input.step-title { font-weight: 700; }
.steps { counter-reset: step; }
.steps .item::before { counter-increment: step; content: counter(step); flex: none; width: 30px; height: 30px; margin-top: 6px; border-radius: 50%;
  background: var(--primary); color: var(--white); font: 800 14px/30px Montserrat, sans-serif; text-align: center; }
.tools { display: flex; flex-direction: column; gap: 2px; }
.tool { background: none; border: 1px solid var(--border); border-radius: 8px; width: 34px; height: 30px; cursor: pointer; color: var(--mid); font-size: 15px; }
.tool:hover { border-color: var(--primary); color: var(--primary); }
.tool:disabled { opacity: .3; cursor: default; }
.add { margin-top: 10px; background: none; border: 2px dashed var(--border); border-radius: var(--radius); padding: 10px 14px; width: 100%;
  font: 700 15px Inter, sans-serif; color: var(--primary); cursor: pointer; }
.add:hover { border-color: var(--primary); }
.empty { color: var(--mid); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 8px 0 18px; }
.changed { font-size: 14px; color: var(--accent-deep); font-weight: 600; }

/* Send */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 16px 0; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }
.send label { font-size: 15px; font-weight: 600; }
.send label input { margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-bottom: 12px; }
.turnstile:empty { display: none; }
.fine { font-size: 13px; color: var(--mid); margin-top: 12px; }
.sent { border-color: var(--accent); }
.sent:focus { outline: none; }

footer { padding: 24px 16px 40px; font-size: 14px; color: var(--mid); text-align: center; }
footer img { width: 28px; vertical-align: middle; margin-right: 6px; }

@media print {
  header, footer, .actions, .tools, .add, .stage-pick, #s-send, .result-head .hint { display: none !important; }
  body { background: none; }
  .card { border: 0; padding: 8px 0; break-inside: avoid; }
  textarea, input { border: 0 !important; padding: 0 !important; }
}
