/* The seller's questions. Same palette as the team's pages (white header, faintly indigo-grey ground, white
   surfaces with a hairline border), but a single narrow column: one question per screen, big enough to answer
   with a thumb. One motion moment: each new question slides in (off when the system asks for less motion). */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900;
  font-style: normal; font-display: swap; }
:root {
  --page: #f7f7fb;
  --card: #ffffff;
  --line: #e5e5ee;
  --line-2: #d2d3e0;
  --hover: #a6a8b9;
  --ink: #12142b;
  --ink-2: #51536c;
  --muted: #86889c;
  --accent: #293dd6;
  --accent-ink: #2436bc;
  --accent-deep: #1f2ea3;
  --accent-soft: #eceefe;
  --picked: #f7f8ff;
  --shell: #ffffff;
  --warn: #8a5300;
  --warn-bg: #fcf3e3;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  accent-color: var(--accent);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11"; letter-spacing: -0.006em; min-height: 100vh; }
p { margin: 0; }
h1, h2 { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: #d5d9fc; color: var(--accent-deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.top { background: var(--shell); color: var(--ink); border-bottom: 1px solid var(--line); }
.top-in { max-width: 760px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; }  /* lines up with the questions */
.mark { font-weight: 650; letter-spacing: -0.02em; font-size: 16px; }
.mark::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #293dd6;
  margin-right: 9px; vertical-align: 1px; }

.flow { max-width: 760px; margin: 0 auto; padding: 36px 24px 72px; }

/* where you are: back, the count, the bar */
.progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 12px; }
.back { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink-2); cursor: pointer; transition: border-color .15s, color .15s; }
.back:hover { border-color: var(--hover); color: var(--ink); }
.back svg { width: 16px; height: 16px; }
.back[hidden] { display: grid !important; visibility: hidden; }
.count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { grid-column: 1 / -1; height: 4px; background: var(--line); border-radius: 0 999px 999px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 0 999px 999px 0;
  transition: width .35s ease; }

/* the question */
.step { margin-top: 36px; }
.q { font-size: clamp(28px, 4.4vw, 40px); font-weight: 650; letter-spacing: -0.032em; line-height: 1.12; }
.q:focus { outline: none; }
.sub { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.body { margin-top: 28px; }
.enter .q, .enter .sub, .enter .body, .enter .foot { animation: rise .32s cubic-bezier(.2, .7, .3, 1) both; }
.enter .sub { animation-delay: .03s; }
.enter .body { animation-delay: .06s; }
.enter .foot { animation-delay: .09s; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .enter .q, .enter .sub, .enter .body, .enter .foot { animation: none; }
  .bar i { transition: none; }
}

/* answers: cards you tap */
.opts { display: grid; gap: 10px; }
.opts.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px;
  align-items: center; padding: 16px 18px; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.opt:hover { border-color: var(--hover); }
.opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .ot { font-weight: 560; line-height: 1.3; }
.opt .od { grid-column: 2; font-size: 14px; color: var(--ink-2); margin-top: 2px; line-height: 1.35; }
.grid .opt { padding: 13px 16px; }
.grid .opt .ot { font-size: 15px; }
.radio, .box { width: 20px; height: 20px; border: 1.5px solid #bfc0cf; background: var(--card); display: grid; place-items: center;
  transition: border-color .15s, background .15s; grid-row: 1 / span 2; }
.radio { border-radius: 50%; }
.box { border-radius: 6px; }
.opt[aria-checked="true"] { border-color: var(--accent); background: var(--picked); box-shadow: inset 0 0 0 1px var(--accent); }
.opt[aria-checked="true"] .radio { border-color: var(--accent); }
.opt[aria-checked="true"] .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.opt[aria-checked="true"] .box { background: var(--accent); border-color: var(--accent); }
.opt[aria-checked="true"] .box::after { content: ""; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg); }
.opt:active .radio, .opt:active .box { transform: scale(.92); }

.other { display: grid; gap: 6px; margin-top: 14px; }

/* chips: optional extras */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card);
  cursor: pointer; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
.chips button:hover { border-color: var(--hover); color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* a number on a slider */
.slide { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px 22px; }
/* the number is a field: a dashed underline says you can type in it */
.typed { display: flex; justify-content: center; align-items: baseline; gap: 12px; font-size: clamp(34px, 5vw, 46px); font-weight: 650;
  letter-spacing: -0.03em; line-height: 1.1; color: var(--accent-ink); }
.typed input { font: inherit; color: inherit; letter-spacing: inherit; font-variant-numeric: tabular-nums; text-align: center;
  min-width: 2ch; max-width: 100%; padding: 2px 4px 4px; border: 0; border-bottom: 2px dashed #b6b8c8; border-radius: 0;
  background: transparent; caret-color: var(--accent); cursor: text; transition: border-color .15s, background .15s; }
.typed input:hover { border-bottom-color: var(--accent); }
.typed input:focus { outline: none; border-bottom: 2px solid var(--accent); background: var(--picked); border-radius: 8px 8px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.range-wrap { position: relative; margin: 30px 0 0; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--p, 0%), var(--line) var(--p, 0%)); }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(16, 24, 40, .18); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .18); }
input[type=range]:focus-visible { outline: none; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(41, 61, 214, .22); }
input[type=range]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(41, 61, 214, .22); }
.ticks { position: relative; height: 20px; margin: 6px 13px 0; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks span:first-child { transform: none; }
.ticks span:last-child { transform: translateX(-100%); }

/* continue */
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.hint { font-size: 14px; color: var(--muted); }
.go { height: 48px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--accent-deep); color: #fff; font-weight: 600;
  cursor: pointer; transition: background .15s; }
.go:hover { background: var(--accent-ink); }
.go:disabled { background: #cccdd7; cursor: default; }
.go:focus-visible { outline-offset: 3px; }

/* where to reply */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.fields + .fields { margin-top: 26px; }
.fields h2 { grid-column: 1 / -1; font-size: 17px; font-weight: 620; letter-spacing: -0.012em; }
.f { display: grid; gap: 6px; min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f > span { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.f > span i { font-style: normal; color: var(--muted); font-weight: 400; }
.f input { width: 100%; height: 46px; padding: 8px 14px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px;
  caret-color: var(--accent); transition: border-color .15s, box-shadow .15s; }
.f input:hover { border-color: var(--hover); }
.f input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(41, 61, 214, .16); }
.f input[aria-invalid="true"] { border-color: #c27c0e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { margin-top: 16px; background: var(--warn-bg); color: var(--warn); border: 1px solid #f1dfbd; border-radius: 12px; padding: 11px 16px;
  font-size: 15px; }
.send { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.small { font-size: 14px; color: var(--muted); }

/* what happens next */
.done .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 22px; }
.done .tick svg { width: 26px; height: 26px; }
.done h2 { margin-top: 40px; font-size: 17px; font-weight: 620; letter-spacing: -0.012em; }
.next { list-style: none; margin: 16px 0 0; padding: 0; display: grid; }
.next li { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; position: relative; padding-bottom: 22px; }
.next li:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1px; background: var(--line-2); }
.next .n { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); display: grid;
  place-items: center; font-size: 14px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.next li:first-child .n { background: var(--accent); border-color: var(--accent); color: #fff; }
.next b { display: block; font-weight: 600; padding-top: 4px; }
.next p { color: var(--ink-2); margin-top: 2px; }
.done .small { margin-top: 10px; }

@media (max-width: 640px) {
  .flow { padding: 24px 16px 56px; }
  .top-in { padding: 14px 16px; }
  .step { margin-top: 28px; }
  .sub { font-size: 16px; }
  .opts.grid, .fields { grid-template-columns: minmax(0, 1fr); }
  .slide { padding: 24px 18px 18px; }
  .ticks span:nth-child(2), .ticks span:nth-child(4) { display: none; }
  .foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .go { width: 100%; }
  .send .go { width: 100%; }
}

/* ---------------------------------------------------------------- second pass (19 Nov 2026)
   From the form research: a start screen, letter shortcuts, field hints where people hesitate, a check-answers screen,
   and a confirmation with times. Patterns from GOV.UK, Typeform/HeyForm/OpnForm and Baymard. */
.f > label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.f > label i { font-style: normal; color: var(--muted); font-weight: 400; }
.fh { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* the start screen: what this is, how long, and that it's private */
.start { display: grid; gap: 0; }
.start .sub { max-width: 58ch; }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.facts svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 1px; }
.facts span { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.facts b { color: var(--ink); font-weight: 600; font-size: 15px; }
.start .send { margin-top: 28px; }
.kbd-hint { font-size: 13px; color: var(--muted); }
kbd { font: 500 12px/1 var(--font); padding: 3px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px;
  background: var(--card); color: var(--ink-2); }
.go-wrap { display: inline-flex; align-items: center; gap: 12px; }

/* letter shortcuts: a small badge on each option, filled when it's picked */
.opt.lettered { grid-template-columns: 26px minmax(0, 1fr); }
.key { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; grid-row: 1 / span 2; align-self: center;
  font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid #d5dafc;
  transition: background .15s, color .15s, border-color .15s; }
.opt[aria-checked="true"] .key { background: var(--accent); border-color: var(--accent); color: #fff; }

/* check your answers: three cards, each answer with a Change link back to its question */
.rv-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px; }
.rv-card + .rv-card { margin-top: 14px; }
.rv-card h2 { font-size: 15px; font-weight: 600; padding: 12px 0 6px; }
.rv-card dl { margin: 0; }
.rv-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 11px 0;
  border-top: 1px solid var(--line); }
.rv-row dt { font-size: 14px; color: var(--ink-2); }
.rv-row dd { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.rv-row dd.none { color: var(--muted); }
.change { all: unset; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--accent-ink); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: rgba(41, 61, 214, .35); }
.change:hover { text-decoration-color: currentColor; }
.change:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
#send-form .send { margin-top: 24px; }
.small { display: inline-flex; align-items: center; gap: 7px; }
.small svg { width: 15px; height: 15px; flex: none; }

/* the confirmation: a success panel, what happens next with when, and a link to pass on */
.done-panel { display: flex; gap: 18px; align-items: flex-start; padding: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; }
.done-panel .tick { margin: 0; flex: none; }
.done-panel .q { font-size: clamp(24px, 3.4vw, 32px); }
.done-panel .sub { margin-top: 6px; }
.next .when { display: inline-block; margin: 2px 0 0; font-size: 13px; font-weight: 500; color: var(--accent-ink); }
.share-card { display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 16px 18px; border: 1px dashed var(--line-2);
  border-radius: 14px; }
.share-card > svg { width: 20px; height: 20px; flex: none; color: var(--accent); }
.share-card div { flex: 1; display: grid; gap: 2px; }
.share-card b { font-weight: 600; }
.share-card p { font-size: 14px; color: var(--ink-2); }
.ghost { height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); color: var(--ink);
  font-weight: 500; cursor: pointer; white-space: nowrap; }
.ghost:hover { border-color: var(--hover); }
.done .small { margin-top: 18px; }

@media (max-width: 640px) {
  .facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .facts li { padding: 12px 14px; }
  .rv-card { padding: 4px 16px; }
  .rv-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rv-row dt { grid-column: 1; }
  .rv-row dd:not(.rv-act) { grid-column: 1; grid-row: 2; }
  .rv-row .rv-act { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .done-panel { padding: 18px; gap: 14px; }
  .share-card { flex-wrap: wrap; }
  .go-wrap { width: 100%; }
  .go-wrap .go { flex: 1; }
}
@media not ((hover: hover) and (pointer: fine)) { .kbd-hint { display: none; } }

/* ---- added for the public site: the wordmark links home, a way back, and the preview notice */
.top-in { justify-content: space-between; gap: 16px; }
a.mark { color: inherit; text-decoration: none; }
a.mark span { font-weight: 450; color: var(--muted); }
.exit { font-size: 15px; color: var(--muted); text-decoration: none; }
.exit:hover { color: var(--ink); text-decoration: underline; }
.preview-flag { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #f1dfbd; font-size: 14px; }
.preview-flag div { max-width: 760px; margin: 0 auto; padding: 8px 24px; }
.done-panel.is-preview { background: var(--warn-bg); border-color: #f1dfbd; }
.payload { margin-top: 24px; }
.payload summary { cursor: pointer; font-weight: 550; padding: 8px 0; }
.payload pre { margin: 8px 0 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font: 13px/1.5 ui-monospace, Consolas, monospace;
  overflow: auto; max-height: 360px; white-space: pre-wrap; overflow-wrap: anywhere; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--card); padding: 12px 16px; border: 1px solid #293dd6; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
/* the calculator's grey (#86889c) is 3.5:1 on this ground; the public site needs 4.5:1 for small text */
:root { --muted: #676a82; }

/* ---------------------------------------------------------------- the mark: three chevrons, each stronger than the last
   (raw records, cleaned, ready), drawn in whatever colour the wordmark sits in so it belongs to every background */
.logo { width: 30px; height: 21px; flex: none; fill: currentColor; color: #293dd6; }
.logo .l1 { opacity: .34; } .logo .l2 { opacity: .64; }
.wordmark, a.mark { display: inline-flex; align-items: center; gap: 9px; }
.wordmark span, a.mark span { font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.035em; color: inherit; }
a.mark::before { display: none; }
a.mark span { color: var(--ink); }

/* the header mark, set large as on the rest of the site (23 Nov 2026) */
.top .logo { width: 46px; height: 32px; }
.top a.mark { gap: 12px; }
.top a.mark span { font-size: 1.8125rem; letter-spacing: -0.04em; }
@media (max-width: 900px) {
  .top .logo { width: 36px; height: 25px; }
  .top a.mark { gap: 9px; }
  .top a.mark span { font-size: 1.4375rem; }
}
