@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
}

:root {
  --ff: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --orange: #f75401;
  --navy: #161c4b;
  --navy2: #08294f;
  --o-t3: #fff4f0;
  --ink2: #33386a;
  --line: #d9dbe8;
  --r: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: auto;
  background: #fff;
  color: var(--navy);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
}

body { padding: 0 0 12px; }

.card {
  color: var(--navy);
  background: #fff;
  border-radius: var(--r);
  margin: 0;
  padding: 12px 16px 16px;
  box-shadow: 0 1px 2px #161c4b0f, 0 14px 36px #161c4b17;
}

.ch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.ch .t {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--navy);
}

.stepno {
  color: var(--ink2);
  font-size: 14px;
  font-weight: 600;
}

.note {
  background: var(--o-t3);
  border-left: 5px solid var(--orange);
  border-radius: 0 8px 8px 0;
  margin: 0 0 12px;
  padding: 12px 14px;
  font-size: 15.5px;
  line-height: 1.5;
}

.progress {
  background: var(--o-t3);
  border-radius: 8px;
  height: 8px;
  margin: 0 0 10px;
  overflow: hidden;
}

.progress i {
  display: block;
  background: var(--orange);
  height: 100%;
  width: 0;
}

.step { display: none; }
.step.on { display: block; }

.q {
  margin: 0 0 6px;
  font-size: 27px;
  line-height: 1.12;
  font-weight: 700;
}

.opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.opts.grid2 { grid-template-columns: 1fr 1fr; }

.opt {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  border: 2px solid var(--line);
  width: 100%;
  min-height: 44px;
  font: 700 15px/1.2 var(--ff);
  color: var(--navy);
  cursor: pointer;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.opt.span2 { grid-column: 1 / -1; }

.jobs { gap: 8px; margin-bottom: 8px; }

.opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.opt:hover { border-color: var(--navy); }

.opt:has(input:checked) {
  border-color: var(--navy);
  background: var(--o-t3);
}

.opt:has(input:checked) span::before {
  content: "✔ ";
  color: var(--orange);
  font-weight: 900;
}

.opt[hidden] { display: none; }

.branch { display: none; }
.branch.on { display: block; }

.lbl {
  margin: 14px 0 6px;
  font-size: 15.5px;
  font-weight: 700;
  display: block;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  border: 2px solid var(--line);
  width: 100%;
  min-height: 48px;
  font: 16px var(--ff);
  color: var(--navy);
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
}

textarea { min-height: 6rem; resize: vertical; }

input:focus,
textarea:focus,
select:focus,
.opt:focus-within,
.btn:focus-visible,
.back:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-color: var(--navy);
}

.addr2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn {
  background: var(--navy);
  color: #fff;
  min-height: 52px;
  font: 700 17px/1.3 var(--ff);
  cursor: pointer;
  text-align: center;
  border: 0;
  border-radius: var(--r);
  padding: 14px 28px;
  width: 100%;
  margin-top: 8px;
}

.btn:hover { background: var(--navy2); }

.back {
  color: var(--navy);
  font: 500 15.5px var(--ff);
  cursor: pointer;
  background: transparent;
  border: 0;
  min-height: 44px;
  margin-top: 8px;
  padding: 12px 8px 12px 0;
  text-decoration: underline;
  width: auto;
}

.back:hover { background: transparent; color: var(--navy); }

.errors {
  color: #9a2a00;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.errors ul { margin: 6px 0 0; padding-left: 18px; }

.success .q { margin-bottom: 8px; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.suggest { position: relative; }
.suggest ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.suggest li button {
  width: 100%;
  text-align: left;
  background: #fff;
  color: var(--navy);
  border: 0;
  border-radius: 0;
  font: 600 16px var(--ff);
  min-height: 44px;
}
.suggest li button:hover { background: var(--o-t3); }

.step[data-step="job"] .q { font-size: 24px; margin-bottom: 10px; }

@media (min-width: 760px) {
  .q { font-size: 26px; }
  .card { max-width: 560px; margin: 24px auto; }
  .opts.jobs { grid-template-columns: 1fr 1fr 1fr; }
  .opt { min-height: 52px; padding: 12px 14px; font-size: 16px; }
}
