@font-face { font-family: Montserrat; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/montserrat-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
:root {
  --navy: #000b21;
  --navy-soft: #13213d;
  --green: #349f59;
  --green-dark: #2a8249;
  --bg: #f2f4f7;
  --card: #ffffff;
  --text: #0b1426;
  --muted: #5a6577;
  --line: #dfe3ea;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --ok-bg: #e7f5ec;
  --radius: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
header.top {
  background: var(--navy);
  color: #fff;
  padding: 14px 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
header.top .inner { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
header.top img { height: 22px; width: auto; }
header.top .tag { margin-left: auto; font-size: 13px; opacity: 0.8; }
.progress { height: 4px; background: rgba(255, 255, 255, 0.15); margin: 12px auto 0; max-width: 720px; border-radius: 2px; overflow: hidden; }
.progress > div { height: 100%; background: var(--green); width: 0; transition: width 0.3s; }
main { max-width: 720px; margin: 0 auto; padding: 16px 16px 120px; }
h1 { font-size: 24px; margin: 8px 0 6px; line-height: 1.2; }
h2 { font-size: 20px; margin: 4px 0 4px; }
h3 { font-size: 15px; margin: 22px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
p.lead { color: var(--muted); margin: 0 0 16px; }
.card { background: var(--card); border-radius: var(--radius); padding: 18px 16px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(10, 20, 40, 0.06); }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 6px; }
.req { color: var(--danger); margin-left: 2px; }
.hint { color: var(--muted); font-size: 14px; margin: -2px 0 6px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* stops iPhone zooming in */
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy-soft); outline-offset: 1px; }
.upper { text-transform: uppercase; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  flex: 1 1 auto;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  min-height: 48px;
}
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label:has(input:checked) { border-color: var(--green); background: var(--ok-bg); color: var(--green-dark); font-weight: 700; }
.choices label:has(input:focus-visible) { outline: 2px solid var(--navy-soft); }
.field.error input, .field.error select, .field.error textarea, .field.error .choices label { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; margin-top: 4px; font-weight: 600; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  min-height: 52px;
  text-decoration: none;
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); }
.btn.secondary { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.ghost { background: transparent; color: var(--navy); padding: 10px 12px; min-height: 44px; }
.btn.danger { background: #fff; color: var(--danger); border: 1.5px solid var(--danger); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn.block { width: 100%; }
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 10;
}
.navbar .inner { max-width: 720px; margin: 0 auto; display: flex; gap: 10px; }
.navbar .btn.primary { flex: 1; }
.saved { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; min-height: 18px; }

.alert { padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; }
.alert.error { background: var(--danger-bg); color: var(--danger); }
.alert.ok { background: var(--ok-bg); color: var(--green-dark); }
.center { text-align: center; }
.big-tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 40px; margin: 24px auto 12px; }
.hidden { display: none !important; }
.row { display: flex; gap: 10px; margin-top: 12px; }
.row > * { flex: 1; }
footer.small { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px; }

/* Customer form theme: matches leightonvans.co.uk — navy ground, Montserrat, hairlines, white
   squared buttons, green used sparingly. Loaded after styles.css by the customer page only, so the
   staff screen (which shares styles.css) is unchanged. */
:root {
  --bg: #000b21;
  --card: #0b1a38;
  --text: #ffffff;
  --muted: #9aa4b8;
  --faint: #6e7a92;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.4);
  --danger: #ff8a7a;
  --danger-bg: rgba(255, 138, 122, 0.1);
  --ok-bg: rgba(52, 159, 89, 0.14);
  --radius: 2px;
  color-scheme: dark;
}
body {
  font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
header.top { padding: 22px 24px 0; background: var(--bg); }
header.top img { height: 17px; }
header.top .tag { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); opacity: 1; }
.progress { height: 1px; margin-top: 20px; background: var(--line); border-radius: 0; }
main { padding: 40px 24px 140px; }

h1 { font-size: 32px; line-height: 1.12; font-weight: 300; letter-spacing: -0.02em; margin: 0 0 14px; }
h2 { font-weight: 500; }
h3 { font-size: 10px; font-weight: 500; letter-spacing: 0.28em; color: var(--muted); margin: 32px 0 14px; }
p.lead { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 32px; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: #c9d0dd; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--green); }

.card { background: transparent; box-shadow: none; border-radius: 0; padding: 0 0 8px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.hint { color: var(--muted); font-size: 13px; }
.field { margin-bottom: 28px; }
.field > label, .field > .label { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.req { color: var(--green); }

input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], select, textarea {
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 10px 0;
  font-weight: 300;
  font-size: 17px;
}
select { background: var(--bg); }
select option { background: var(--bg); color: var(--text); }
textarea { border: 1px solid var(--line-strong); padding: 12px; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; }
input[type=date] { color-scheme: dark; }

.choices { gap: 1px; background: var(--line); border: 1px solid var(--line); }
.choices label {
  border: 0;
  border-radius: 0;
  background: var(--bg);
  color: #c9d0dd;
  font-weight: 400;
  font-size: 14px;
  min-height: 52px;
}
.choices label:has(input:checked) { background: #fff; color: var(--bg); font-weight: 600; }
.choices label:has(input:focus-visible) { outline: 1px solid #fff; outline-offset: -3px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--danger); }
.field.error .choices { border-color: var(--danger); }
.err { color: var(--danger); font-weight: 500; font-size: 13px; }

.btn { border-radius: var(--radius); font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; min-height: 56px; }
.btn.primary { background: #fff; color: var(--bg); }
.btn.primary:hover { background: #dfe4ec; }
.btn.secondary { background: transparent; color: #fff; border: 1px solid var(--line-strong); }
.btn.ghost { color: #c9d0dd; }
.btn.danger { background: transparent; }

.navbar { background: rgba(0, 11, 33, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); }
.navbar .inner { gap: 16px; }
.navbar .btn.secondary { border: 0; padding: 0 4px; min-width: 64px; color: var(--muted); }
.saved { color: var(--faint); font-size: 12px; }
footer.small { color: var(--faint); font-size: 12px; }

.alert { border-radius: 0; font-weight: 500; font-size: 14px; }
.alert.error { background: var(--danger-bg); color: var(--danger); }
.alert.ok { background: var(--ok-bg); color: #7fd19c; }

/* The thank-you screen */
.center { text-align: left; }
.big-tick { margin: 8px 0 28px; width: 52px; height: 52px; font-size: 22px; background: transparent; border: 1px solid var(--green); color: var(--green); }

/* Page titles on each step */
.step { margin: 0 0 14px; font-size: 10px; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
main > h2 { font-size: 30px; line-height: 1.12; font-weight: 300; letter-spacing: -0.02em; margin: 0 0 14px; }
main > h2 + .card, main > h2 + .alert { margin-top: 32px; }

/* Readability pass: bigger text, clear numbered steps */
body { font-size: 17px; }
h1 { font-size: 34px; }
main > h2 { font-size: 32px; }
p.lead { font-size: 17px; line-height: 1.6; color: #c9d0dd; }
.hint { font-size: 15px; line-height: 1.5; }
.step { font-size: 13px; letter-spacing: 0.16em; color: #c9d0dd; }
.eyebrow { font-size: 12px; letter-spacing: 0.24em; }
.field > label, .field > .label { font-size: 13px; letter-spacing: 0.1em; color: #c9d0dd; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], select, textarea { font-size: 19px; font-weight: 400; }
.choices label { font-size: 16px; }
.btn { font-size: 14px; letter-spacing: 0.16em; } h3 { font-size: 12px; letter-spacing: 0.2em; }
.alert { font-size: 16px; }
footer.small, .saved { font-size: 14px; }
header.top .tag { font-size: 11px; }

/* ---- Rental front end ---- */
.hint.since { margin: 8px 0 0; color: var(--faint); font-size: 14px; }
.van-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .van-grid { grid-template-columns: 1fr 1fr; } }
.van-card { all: unset; box-sizing: border-box; cursor: pointer; display: block; border: 1px solid var(--line-strong); background: var(--card); }
.van-card:hover, .van-card:focus-visible { border-color: #fff; }
.van-card.sel { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.van-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #13213d; }
.van-card .t { display: block; padding: 16px 18px; font-weight: 500; font-size: 16px; }
.opt-card { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; border: 1px solid var(--line-strong); padding: 18px; margin-bottom: 14px; min-height: 64px; }
.opt-card:hover, .opt-card:focus-visible { border-color: #fff; }
.opt-card.sel { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.opt-card b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.opt-card span { color: var(--muted); font-size: 14px; }
.stepper { display: flex; align-items: center; gap: 0; border: 1px solid var(--line-strong); width: max-content; }
.stepper button { all: unset; cursor: pointer; width: 56px; height: 56px; display: grid; place-items: center; font-size: 24px; }
.stepper button:hover, .stepper button:focus-visible { background: var(--card); }
.stepper output { min-width: 64px; text-align: center; font-size: 20px; font-weight: 500; }
.dob-row { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 14px; }
.month-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.addr { border-left: 1px solid var(--green); padding: 4px 0 0 16px; margin-bottom: 24px; }
.addr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.addr-head b { font-weight: 500; font-size: 15px; }
.history { font-size: 14px; padding: 12px 14px; border: 1px solid var(--line); margin: 6px 0 18px; color: #c9d0dd; }
.history.ok { border-color: var(--green); color: #7fd19c; }
.ch-results { list-style: none; padding: 0; margin: 12px 0 0; border: 1px solid var(--line); }
.ch-results li + li { border-top: 1px solid var(--line); }
.ch-results button { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; padding: 14px 16px; }
.ch-results button:hover, .ch-results button:focus-visible { background: var(--card); }
.ch-results b { display: block; font-weight: 500; }
.ch-results span { color: var(--muted); font-size: 14px; }
.chosen { border: 1px solid var(--green); padding: 14px 16px; margin: 6px 0 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chosen b { font-weight: 500; }
.consent-box { border: 1px solid var(--line); padding: 18px; margin-bottom: 24px; color: #c9d0dd; }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; margin-bottom: 8px; }
.check input { width: 26px; height: 26px; flex: 0 0 26px; margin: 2px 0 0; accent-color: #349f59; }
.check span { font-size: 15px; }
a { color: #fff; }
.tstile { margin: 18px 0; min-height: 65px; }
.spinner { width: 44px; height: 44px; border: 2px solid var(--line-strong); border-top-color: var(--green); border-radius: 50%; margin: 60px auto 24px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checking { text-align: center; padding-top: 24px; }
.result { text-align: center; padding-top: 24px; }
.result h1 { font-size: 28px; }
.result p { color: #c9d0dd; font-size: 16px; line-height: 1.7; }
.progress > div { transition: width 0.3s; }
@media (max-width: 380px) { main { padding: 32px 18px 140px; } h1 { font-size: 27px; } .dob-row { gap: 10px; } }
footer.small { padding-bottom: 120px; }
[hidden] { display: none !important; }
.field > label.check { display: flex; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; color: var(--text); }
.check input[type=checkbox] { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid var(--line-strong); background: transparent; border-radius: 2px; min-height: 0; padding: 0; display: grid; place-items: center; }
.check input[type=checkbox]:checked { background: var(--green); border-color: var(--green); }
.check input[type=checkbox]:checked::after { content: '✓'; color: #fff; font-size: 17px; line-height: 1; }
.check input[type=checkbox]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { padding: 0; display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field.error input, .field.error select { border-color: var(--danger); }
