@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/Inter-400.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/Inter-500.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/Inter-600.ttf") format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/Inter-700.ttf") format("truetype");
}
@font-face {
  font-family: Plate;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/Plate-700.ttf") format("truetype");
}

:root {
  --green: #1e4636;
  --page: #f5f7f6;
  --ink: #1c2321;
  --slate: #5e6a66;
  --line: #dfe4e2;
  --wa: #1a9e4b;
  --phone-max: 430px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  background: var(--page);
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shell {
  width: 100%;
  max-width: var(--phone-max);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--page);
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 11px 20px 11px;
  background: var(--page);
}

header img {
  height: 84px;
  width: auto;
}

main {
  flex: 1 0 auto;
  padding: 11px 20px 20px;
  text-align: left;
  --block-gap: 1.15;
}

@media (max-height: 699px) {
  main {
    --block-gap: 1.06;
  }
}

.hero {
  text-align: center;
}

.plate {
  display: inline-block;
  background: #f6c516;
  border: 2px solid #1c1c1c;
  border-radius: 6px;
  padding: 7px 18px 5px;
  font-family: Plate, sans-serif;
  font-size: clamp(28px, 8vw, 38px);
  letter-spacing: 3px;
  color: #111;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.model {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

h1 {
  margin-top: calc(14px * var(--block-gap, 1));
  font-size: clamp(22px, 6.5vw, 27px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-align: left;
}

.last {
  margin-top: calc(8px * var(--block-gap, 1));
  font-size: 16px;
  line-height: 1.45;
  color: var(--slate);
}

.mot {
  margin-top: calc(18px * var(--block-gap, 1));
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.mot svg {
  flex: none;
}

.mot small {
  display: block;
  color: var(--slate);
  font-size: 13px;
  margin-top: 2px;
}

.mot.on {
  border-color: var(--green);
  background: #e7efeb;
}

.cta2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: calc(12px * var(--block-gap, 1));
}

.cta2 .b {
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
}

.cta2 .book {
  background: var(--green);
}

.cta2 .wa {
  background: var(--wa);
}

footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 16px 20px 22px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--slate);
  border-top: 1px solid var(--line);
  background: #fff;
}

footer form {
  display: inline;
}

footer button.linkish {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
}

footer button.linkish strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.q {
  margin-top: calc(16px * var(--block-gap, 1));
  font-size: 16px;
  font-weight: 600;
}

.weeks {
  margin-top: calc(10px * var(--block-gap, 1));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.chip {
  height: 46px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.chip.on {
  border-color: var(--green);
  background: #e7efeb;
  color: var(--green);
  font-weight: 600;
}

.note {
  margin-top: calc(10px * var(--block-gap, 1));
  font-size: 15px;
  color: var(--slate);
}

.note a.call {
  color: var(--green);
  font-weight: 600;
  font-size: 16px;
  text-decoration: underline;
}

.why {
  margin-top: calc(14px * var(--block-gap, 1));
  display: flex;
  flex-direction: column;
  gap: calc(8px * var(--block-gap, 1));
}

.why div {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.35;
  align-items: flex-start;
}

.why svg {
  flex: none;
  margin-top: 1px;
}

/* Reminder page (target-v4-1): the gaps between blocks start at the old spacing and grow
   up to the drawn spacing when the phone has room. The header block above never moves. */
.shell > main {
  display: flex;
  flex-direction: column;
}

.shell > main > h1,
.shell > main > .mot,
.shell > main > .q,
.shell > main > .cta2,
.shell > main > .note {
  margin-top: 0;
}

.shell > main > .why {
  display: contents;
}

.sp {
  display: block;
  flex: 1 1 0;
  min-height: var(--sp-min);
  max-height: var(--sp-max);
}

.sp-h1 { --sp-min: calc(14px * var(--block-gap, 1)); --sp-max: 24px; }
.sp-why { --sp-min: calc(14px * var(--block-gap, 1)); --sp-max: 20px; }
.sp-row { --sp-min: calc(8px * var(--block-gap, 1)); --sp-max: 10px; }
.sp-mot { --sp-min: calc(18px * var(--block-gap, 1)); --sp-max: 20px; }
.sp-q { --sp-min: calc(16px * var(--block-gap, 1)); --sp-max: 24px; }
.sp-cta { --sp-min: calc(12px * var(--block-gap, 1)); --sp-max: 18px; }
.sp-note { --sp-min: calc(10px * var(--block-gap, 1)); --sp-max: 12px; }

.drop {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--slate);
}

@media (max-width: 430px) {
  header {
    padding: 8px 20px 6px;
  }

  header img {
    height: 72px;
  }

  main {
    padding: 10px 20px 10px;
  }

  h1 {
    margin-top: 12px;
    font-size: 23.75px;
  }

  .last {
    font-size: 15px;
    margin-top: 6px;
  }

  .plate {
    padding: 6px 16px 4px;
  }

  .model {
    margin-top: 6px;
  }

  .why {
    margin-top: 8px;
    gap: 4px;
  }

  .why div {
    font-size: 14px;
  }

  .q {
    margin-top: 10px;
  }

  .weeks {
    gap: 6px;
  }

  .chip {
    height: 42px;
    font-size: 14px;
  }

  .drop {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .cta2 {
    margin-top: 8px;
    gap: 8px;
  }

  .cta2 .b {
    height: 50px;
    font-size: 16px;
  }

  .note {
    margin-top: 8px;
    font-size: 13px;
  }

  .sp-h1 { --sp-min: 12px; }
  .sp-why { --sp-min: 8px; }
  .sp-row { --sp-min: 4px; }
  .sp-mot { --sp-min: calc(18px * var(--block-gap, 1)); }
  .sp-q { --sp-min: 10px; }
  .sp-cta { --sp-min: 8px; }
  .sp-note { --sp-min: 8px; }

  footer {
    padding: 14px 20px 16px;
    font-size: 14px;
  }
}

/* Shared by the thank-you pages and the Booking status page. Calling is always an
   underlined link, never a large button. */
.wa-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  border-radius: 12px;
  background: var(--wa);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.call-link {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Booking status page (target-v4-5): same header and hero as the Reminder page. */
.shell > .status-main > h1 {
  margin-top: 16px;
}

.status-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e3ebe6;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.status-card {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status-row span {
  color: var(--slate);
}

.status-row strong {
  text-align: right;
}

.status-msg {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
}

.status-q {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 700;
}

/* Booking status page, confirmed (target v5-5). */
.status-dropoff {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 12px;
}

.status-dropoff svg {
  flex: none;
}

.status-dropoff-title {
  font-weight: 700;
}

.status-dropoff-text {
  margin-top: 2px;
  font-size: 15px;
  line-height: 1.45;
}

/* Batch 05/11i I4: the customer's own words, exactly as typed. */
.status-notes {
  margin-top: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #d7dcd9;
  border-radius: 12px;
}

.status-notes-title {
  font-weight: 700;
}

.status-notes-text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.status-change {
  margin: 14px 0 10px;
  font-size: 15px;
}

.simple-page {
  padding: 48px 24px;
  text-align: center;
  max-width: var(--phone-max);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simple-page h1 {
  font-size: 22px;
  margin-top: 0;
}

.simple-page p {
  margin-top: 12px;
  color: var(--slate);
  line-height: 1.5;
}

.simple-page .stop-button {
  width: 100%;
  height: 54px;
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

/* Stop-reminders pages: the reminder-page header, then the existing words, centred.
   The hero's top padding matches the booking form's car block, so the gap from the
   logo to the plate is the same. The header itself is unchanged. */
.stop-page .hero {
  padding-top: 11px;
}

@media (max-width: 430px) {
  .stop-page .hero {
    padding-top: 10px;
  }
}

.stop-page h1 {
  text-align: center;
  margin-top: 18px;
}

.stop-page form {
  width: 100%;
}

.stop-page .spec {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 400;
}

/* "Your vehicle is with us" (rulings 05/11/2026 P9, target-v9-3): no make, model or
   registration on screen. */
.withus-card {
  margin-top: 6px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 14px;
}

.withus-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.withus-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e3ece7;
}

.shell > .withus-main .withus-card h1 {
  margin: 2px 0 2px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.withus-line p {
  font-size: 16px;
  color: #3d4a43;
}

.withus-card .call-link {
  margin-top: 10px;
}

.withus-form {
  margin-top: 22px;
}

.withus-h2 {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
}

.withus-form textarea {
  display: block;
  width: 100%;
  min-height: 150px;
  padding: 12px 14px;
  border: 1px solid #cfd6d2;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
}

.withus-error {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #b42318;
}

.withus-send {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
}

.withus-hint {
  margin-top: 8px;
  font-size: 13.5px;
  color: #5b6660;
}

.withus-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
