/* Consulting booking page. Tokens from the zannavanderaa-brand skill
   (Blueprint template): Arial only, dark brown text, primary orange accent,
   peach underline, white field. Colour is accent, not field. */

:root {
  --orange: #FB9611;
  --burnt: #9C400D;
  --red-orange: #FB5604;
  --peach: #FFBF69;
  --yellow: #FBCD54;
  --brown: #342E2A;
  --slate: #44546A;
  --rule: #E7E6E6;
  --muted: #CCCBCA;
  --white: #FFFFFF;
  --font: Arial, 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0; background: var(--white); color: var(--brown);
  font-family: var(--font); font-size: 15px; line-height: 1.6;
}
[hidden] { display: none !important; }

.head { border-bottom: 1px solid var(--orange); padding: 14px 16px; }
.head-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.logo { display: block; height: 32px; width: auto; }
.wordmark { font-weight: 700; font-size: 15px; }
.aa { color: var(--orange); }

main { max-width: 640px; margin: 0 auto; padding: 40px 16px 24px; }

h1 { font-size: 32px; line-height: 1.2; margin: 0; font-weight: 700; }
h1::after { content: ''; display: block; width: 22mm; height: 3px; background: var(--peach); margin-top: 14px; }
h2 {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  /* Burnt orange, the brand's H2 colour: primary orange fails contrast at this size. */
  color: var(--burnt); margin: 0 0 12px;
}
.lead { color: var(--slate); margin: 16px 0 32px; max-width: 34em; }
.demo { border-left: 3px solid var(--orange); padding: 6px 12px; font-size: 13px; margin: -16px 0 28px; color: var(--slate); }

.block { padding: 22px 0; border-top: 1px solid var(--rule); }

.lengths { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-block; padding: 9px 18px; border-radius: 4px;
  border: 1px solid var(--muted); font-weight: 700; font-size: 14px; color: var(--brown);
  transition: border-color .15s, background .15s;
}
/* Text on orange is dark brown, not white: white on #FB9611 is about 2.2:1 and fails WCAG AA. */
.pill input:checked + span { border-color: var(--orange); background: var(--orange); color: var(--brown); }
.pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(251, 150, 17, 0.35); }

.tz { font-size: 13px; color: var(--slate); margin: -2px 0 14px; }
.status { font-size: 14px; padding: 8px 12px; margin-bottom: 12px; }
.status-info { color: var(--slate); padding-left: 0; }
.status-error { border-left: 3px solid var(--red-orange); background: #FFF4EC; }

.days { display: grid; gap: 0; }
.day {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.day:first-child { border-top: 1px solid var(--rule); }
.day-name { font-size: 15px; font-weight: 700; margin: 0; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slot {
  font: 700 14px/1 var(--font); color: var(--brown); background: var(--white);
  border: 1px solid var(--muted); border-radius: 4px; padding: 9px 14px; min-width: 72px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.slot:hover { border-color: var(--orange); color: var(--burnt); }
.slot:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(251, 150, 17, 0.35); }
.slot.is-selected { background: var(--orange); border-color: var(--orange); color: var(--brown); }
.empty { color: var(--slate); margin: 0; }
.more {
  margin-top: 14px; background: none; border: none; padding: 6px 0; cursor: pointer;
  font: 700 14px var(--font); color: var(--burnt);
}
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
/* "None of these times work? Email me ...", under the slot list. */
.nofit { font-size: 13px; color: var(--slate); margin: 16px 0 0; }
.nofit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nofit a:hover, .nofit a:focus-visible { color: var(--burnt); }

/* "More options": every other valid time, visually secondary to the preferred ones. */
.others { margin-top: 18px; }
.others-title { font-size: 13px; font-weight: 700; color: var(--slate); margin: 0 0 6px; outline: none; }
.day-other { padding: 10px 0; }
.day-other .day-name { font-size: 13px; font-weight: 700; color: var(--slate); margin: 0; }
.day-other .slots { gap: 6px; }
.slot-other { font-weight: 400; font-size: 13px; color: var(--slate); padding: 7px 10px; min-width: 60px; }

.chosen { font-weight: 700; margin: 0 0 18px; border-left: 3px solid var(--orange); padding: 2px 0 2px 12px; }
.field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field.sub { margin: 12px 0 0 26px; }
label, legend { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
legend { padding: 0; }
.opt { font-weight: 400; color: var(--slate); margin-left: 4px; }
input:not([type]), input[type="email"], input[type="url"], textarea {
  width: 100%; font: 15px/1.4 var(--font); color: var(--brown); background: var(--white);
  border: 1px solid var(--muted); border-radius: 4px; padding: 10px 12px;
}
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(251, 150, 17, 0.25); }
[aria-invalid="true"] { border-color: var(--red-orange) !important; }
.choice { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 15px; margin: 0 0 8px; cursor: pointer; }
.choice input { accent-color: var(--orange); width: 16px; height: 16px; margin: 4px 0 0; flex: none; }
.hint.mode-hint { margin: -2px 0 12px; }
.hint { font-size: 13px; color: var(--slate); margin: 6px 0 0; }
.field-error { font-size: 13px; color: var(--burnt); margin: 6px 0 0; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.primary {
  width: 100%; margin-top: 4px; padding: 13px 18px; border-radius: 4px; cursor: pointer;
  font: 700 15px var(--font); color: var(--brown); background: var(--orange); border: none;
  transition: background .15s;
}
.primary:hover { background: #E8860A; }
.primary:disabled { opacity: .6; cursor: wait; }

.done h2 { font-size: 24px; text-transform: none; letter-spacing: 0; color: var(--brown); }
.done-when { font-size: 17px; font-weight: 700; }
.done p { margin: 0 0 10px; }
.muted { color: var(--slate); font-size: 14px; }
.done:focus { outline: none; }

.foot {
  max-width: 640px; margin: 24px auto 0; padding: 18px 16px 40px;
  border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--slate);
}

/* Language pill in the header: EN | NL */
.lang { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.lang-sep { color: var(--muted); }
.lang-btn {
  font: 700 12px/1 var(--font); letter-spacing: 0.06em; color: var(--slate);
  background: none; border: 1px solid transparent; border-radius: 999px; padding: 5px 9px; cursor: pointer;
}
.lang-btn:hover { color: var(--brown); }
.lang-btn[aria-pressed="true"] { color: var(--brown); border-color: var(--orange); background: #FFF4EC; }
.lang-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(251, 150, 17, 0.35); }

/* Portrait beside the headline */
.intro { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; }
.intro-text { min-width: 0; }
.intro .lead { margin-bottom: 0; }
.intro .demo { margin: 14px 0 0; }
.portrait {
  flex: none; width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--peach); background: var(--rule);
}

/* Own link, none pasted: the one step left, on the confirmation screen */
.send-invite { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--orange); background: #FFF4EC; }
.done .send-invite-title {
  margin: 0 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--burnt);
}
.done .send-invite-text { font-size: 17px; line-height: 1.5; margin: 0 0 12px; }
.send-invite-text strong { overflow-wrap: anywhere; }
.copy {
  font: 700 14px/1 var(--font); color: var(--brown); background: var(--orange); border: none;
  border-radius: 4px; padding: 10px 14px; cursor: pointer;
}
.copy:hover { background: #E8860A; }
.copy:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(251, 150, 17, 0.35); }
.copied { margin-left: 10px; font-size: 13px; color: var(--slate); }
.done .send-invite-note { margin: 12px 0 0; font-size: 13px; color: var(--slate); }

@media (max-width: 520px) {
  .intro { gap: 16px; align-items: flex-start; }
  .portrait { width: 88px; height: 88px; }
  h1 { font-size: 27px; }
  .day { flex-direction: column; align-items: flex-start; }
}
