  :root {
    --terracotta: #C26245;
    --terracotta-dark: #632a13;
    --charcoal: #3D3731;
    --paper: #ECEDE8;
    --leaf: #3F4E41;
  }
  body { font-family: Inter, system-ui, sans-serif; max-width: 40rem; margin: 0 auto; padding: 0 1rem 3rem; color: var(--charcoal); background: var(--paper); }
  header { text-align: center; padding: 2rem 0 .5rem; }
  header img { max-width: min(480px, 92%); height: auto; }
  h1 { font-size: 1.35rem; color: var(--charcoal); text-align: center; margin: 1rem 0 .25rem; }
  .lead { text-align: center; font-size: .95rem; color: #5a534c; margin-top: 0; }
  fieldset { border: none; border-radius: 8px; margin-top: 1.5rem; padding: 1.25rem; background: #fff; box-shadow: 0 1px 3px rgba(61,55,49,.12); }
  legend { display: none; }
  .card-title { font-weight: 700; color: var(--terracotta); letter-spacing: .02em; margin: 0 0 .25rem; font-size: 1.02rem; }
  label { display: block; margin-top: 1rem; font-weight: 600; font-size: .95rem; }
  .q { display: block; margin-top: 1rem; font-weight: 600; font-size: .95rem; }
  .hint { font-weight: 400; font-size: .85rem; color: #78716a; }
  input[type=text], input[type=tel], input[type=email], input[type=date], textarea {
    width: 100%; padding: .65rem; margin-top: .3rem; border: 1px solid #c9c4bc; border-radius: 5px; font: inherit; box-sizing: border-box; background: #fff; }
  input:focus, textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 0; border-color: var(--terracotta); }
  textarea { min-height: 4.5rem; }
  .choices { margin-top: .4rem; }
  .choices.cols { columns: 2; column-gap: 1.5rem; }
  .choice { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; font-size: .92rem; margin: .35rem 0; break-inside: avoid; }
  .choice input { width: auto; margin-top: .15rem; accent-color: var(--terracotta); }
  .follow { margin: .5rem 0 0 .5rem; padding-left: .9rem; border-left: 3px solid #e5e0d8; }
  .consent { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-weight: 400; font-size: .95rem; }
  .consent input { width: auto; margin-top: .25rem; accent-color: var(--terracotta); }
  button { display: block; width: 100%; margin-top: 1.5rem; padding: .9rem; font: inherit; font-weight: 700; letter-spacing: .03em; background: var(--terracotta); color: #fff; border: 0; border-radius: 5px; cursor: pointer; }
  button:hover { background: var(--terracotta-dark); }
  .notice { background: #fff; border-left: 4px solid var(--leaf); border-radius: 0 6px 6px 0; padding: .85rem 1rem; font-size: .88rem; margin-top: 1.5rem; color: #4a443e; box-shadow: 0 1px 3px rgba(61,55,49,.08); }
  .notice b { color: var(--leaf); }
  .declaration { font-weight: 400; font-size: .88rem; color: #4a443e; margin-top: .5rem; }
  .declaration p { margin: .5rem 0; }
  footer { text-align: center; font-size: .8rem; color: #8a837b; margin-top: 2.5rem; }
  footer a { color: var(--terracotta); }
  footer .accred { display: block; max-width: 100%; height: auto; margin: 0 auto 1rem; }
  footer .mission { font-size: .9rem; color: var(--charcoal); }
  footer .mission b { color: var(--leaf); font-size: 1rem; }
  footer .legal { line-height: 1.7; }
  .hp { position: absolute; left: -9999px; }
  .err { color: #a33; font-size: .9rem; margin-top: 1rem; display: none; }
/* landing page */
a.btn { display: block; text-align: center; margin-top: 1rem; padding: .9rem; font-weight: 700; letter-spacing: .03em; background: var(--terracotta); color: #fff; border-radius: 5px; text-decoration: none; }
a.btn:hover { background: var(--terracotta-dark); }

/* wizard (referral form) */
.progress { height: 6px; background: #dcd8d0; border-radius: 3px; margin-top: 1.25rem; overflow: hidden; }
.progress > div { height: 100%; width: 0; background: var(--terracotta); transition: width .25s; }
.wizard-nav { display: flex; gap: 1rem; }
.wizard-nav button { flex: 1; }
button.secondary { background: #fff; color: var(--charcoal); border: 1px solid #c9c4bc; }
button.secondary:hover { background: var(--paper); }
