:root {
  --ink: #1b2430;
  --muted: #5b6676;
  --brand: #1f3a5f;
  --brand-ink: #fff;
  --bg: #f4f1ea;
  --card: #fff;
  --line: #d9d4c7;
  --err: #a3201f;
  --ok: #1d6b3a;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 34rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
.hero { padding: 1.25rem 0 .5rem; }
.eyebrow { margin: 0; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: .4rem 0 .6rem; color: var(--brand); }
h2 { font-size: 1.5rem; margin: 0 0 .4rem; color: var(--brand); }
.lead { margin: 0; color: var(--muted); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin: 1rem 0; }
.times { list-style: none; margin: 0 0 .5rem; padding: 0; }
.times li { display: flex; justify-content: space-between; padding: .25rem 0; border-bottom: 1px dashed var(--line); }
.times li:last-child { border-bottom: 0; }
.where { margin: .25rem 0 0; }
a { color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
label { display: block; margin: .75rem 0 .25rem; font-weight: 600; }
input, select {
  width: 100%;
  font: inherit;
  padding: .7rem .75rem;
  border: 1px solid #9aa3b0;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 2px;
}
.muted { color: var(--muted); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: inherit; font-weight: 600;
  padding: .6rem .8rem; border-radius: 10px; border: 1px solid #9aa3b0;
  background: #fff; color: var(--ink); cursor: pointer; min-height: 44px;
}
.chip[aria-checked="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.chip small { display: block; font-weight: 400; opacity: .85; }
.services { margin-top: .75rem; display: grid; gap: .5rem; }
.service {
  display: flex; align-items: center; gap: .6rem; margin: 0; padding: .7rem .75rem;
  border: 1px solid #9aa3b0; border-radius: 10px; font-weight: 600; cursor: pointer; min-height: 48px;
}
.service input { width: 1.3rem; height: 1.3rem; margin: 0; flex: none; }
.service small { display: block; font-weight: 400; color: var(--muted); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; margin: 1rem 0; }
.check input { width: 1.4rem; height: 1.4rem; flex: none; margin-top: .15rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn {
  display: inline-block; width: 100%; text-align: center; text-decoration: none;
  font: inherit; font-weight: 700; padding: .9rem 1rem; border-radius: 12px; border: 0;
  background: var(--brand); color: var(--brand-ink); cursor: pointer; min-height: 48px;
}
.btn[disabled] { opacity: .6; cursor: wait; }
.btn.secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.link { display: inline-block; margin-top: .5rem; }
.error { color: var(--err); margin: .3rem 0 0; font-size: .95rem; min-height: 0; }
.error:empty { display: none; }
.big { font-size: 1.25rem; font-weight: 700; margin: .25rem 0; }
.foot { text-align: center; color: var(--muted); font-size: .9rem; }
#done:focus { outline: none; }
@media (min-width: 40rem) { .btn { width: auto; } .btn.secondary { margin-right: .5rem; } }
