/* Colours come from the chosen palette. Roles:
   blue = the canvas of the service; cyan = Holly and the action to meet her;
   purple = the team section; cream = the human side; lilac = quiet surface. */
:root {
  /* Softened 2 Nov from #0000cf, #bb00cf and #00efff: same hues, less glare. */
  --blue: #2230b5;
  --purple: #a43dbf;
  --cyan: #72e4ee;
  --cream: #ffeccf;
  --lilac: #dcdcff;
  /* Added 2 Nov on Lewis's word: one brighter yellow, used only to pick out the people-in-the-loop line. */
  --yellow: #ffe066;
  --ink: #0b0b3b;
  --white: #ffffff;
  --gutter: 20px;
  --wobble: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --card: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blue); color: var(--ink); font-family: 'Poppins', system-ui, sans-serif; font-size: 17px; line-height: 1.6; }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 9.5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px;
  border: 0; border-radius: 12px; font: 700 1.05rem/1.2 'Poppins', system-ui, sans-serif;
  text-decoration: none; cursor: pointer; box-shadow: 0 2px 0 rgba(11, 11, 59, 0.22), 0 8px 18px rgba(11, 11, 59, 0.16);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 3px 0 rgba(11, 11, 59, 0.22), 0 12px 24px rgba(11, 11, 59, 0.2); }
.btn:focus-visible, .slot:focus-visible, #wordmark:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-cyan { background: var(--cyan); color: var(--blue); }
.btn-small { min-height: 44px; padding: 10px 18px; border-radius: 10px; font-size: 0.9rem; }

.kicker { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); }
.note { margin-top: 14px; font-size: 0.82rem; line-height: 1.5; }

.film-label { display: inline-block; margin: 0 0 12px; padding: 7px 14px; border-radius: var(--wobble); background: var(--cyan); color: var(--blue); font-weight: 800; font-size: 0.9rem; }
.film-label span { font-weight: 500; margin-left: 6px; }
/* Film labels kept off the button colours (Lewis, 2 Nov): lilac beside the cyan button, purple beside the blue one. */
#hero-film-label { background: var(--lilac); color: var(--blue); }
#call-film-label { background: var(--purple); color: var(--white); }
#hero-partner { margin-top: 10px; font-size: 1rem; color: var(--lilac); }
#hero-partner strong { color: var(--cream); }
#call-honest { margin-top: 18px; padding: 14px 16px; max-width: 34em; background: var(--white); border-radius: var(--card); }
#call-honest strong { color: var(--blue); }
#call-kicker { color: var(--purple); margin-bottom: 12px; }

.phone { aspect-ratio: 9 / 16; width: 100%; background: var(--ink); border: 7px solid var(--ink); border-radius: 30px; overflow: hidden; }
.phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film { margin: 0; }

#site-header { background: var(--blue); color: var(--cream); }
#site-header-inner { max-width: 1120px; margin: 0 auto; padding: 16px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
#wordmark { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; text-decoration: none; color: var(--cream); }

#hero { background: var(--blue); color: var(--white); }
#hero-inner { max-width: 1120px; margin: 0 auto; padding: 28px var(--gutter) 0; display: grid; gap: 36px; }
#hero-title { margin-top: 12px; color: var(--cream); }
#hero-status { margin: 0 0 26px; padding-left: 14px; border-left: 3px solid var(--cyan); max-width: 34em; color: var(--lilac); font-size: 0.95rem; font-weight: 500; }
#hero-sub { margin: 20px 0 16px; font-size: 1.1rem; max-width: 36em; }
#hero-film { position: relative; max-width: 330px; margin: 0 auto 48px; z-index: 2; }
#hero-film-note { margin-top: 14px; color: var(--lilac); }
#hero-phone { box-shadow: 0 0 0 3px var(--cyan); }

#call { background: var(--cream); padding: 72px 0; }
#call-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 40px; }
#call-film { order: 2; max-width: 290px; margin: 0 auto; }
#call-copy { order: 1; }
#call-title { color: var(--blue); }
#call-lede { margin-top: 18px; max-width: 34em; }
#call-book { margin-top: 28px; }
#call-film-note { color: #3d3d5c; }

#stem { position: relative; margin-top: 30px; padding-left: 38px; }
#stem-line { position: absolute; left: 3px; top: 10px; bottom: 18px; width: 20px; height: calc(100% - 28px); }
#stem-list { list-style: none; margin: 0; padding: 0; }
#stem-list li { position: relative; padding: 8px 0; font-weight: 500; }
#stem-list li::before { content: ''; position: absolute; left: -34px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); border: 2.5px solid var(--blue); }
#stem-list .stem-end { font-weight: 800; color: var(--blue); }
#stem-list .stem-end::before { background: var(--purple); width: 22px; height: 22px; left: -37px; top: 12px; }

#desks { background: var(--lilac); padding: 72px 0; }
#desks-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
#desks-title { color: var(--blue); max-width: 15em; }
#desks-list { margin: 34px 0 0; }
.desk { padding: 18px 0; border-top: 2px solid var(--purple); display: grid; gap: 4px; }
.desk dt { font-weight: 800; color: var(--blue); }
.desk dd { margin: 0; }

#team { background: var(--purple); color: var(--white); padding: 48px 0; }
#team-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 30px; }
#team-title { color: var(--white); }
#team-text { margin-top: 14px; font-size: 1.1rem; font-weight: 500; }
#team-side { display: grid; gap: 18px; }
#team-side strong { color: var(--cream); }
#team-people strong { color: var(--yellow); }

#book { background: var(--blue); color: var(--white); padding: 72px 0 80px; }
#book-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 30px; }
#book-title { color: var(--cream); font-size: clamp(2rem, 7vw, 3.2rem); }
#book-text { margin-top: 18px; font-size: 1.1rem; max-width: 30em; }
#book-assurance { margin-top: 16px; max-width: 30em; color: var(--lilac); }
#booker { background: var(--cream); color: var(--ink); padding: 24px; border-radius: var(--card); }
#booker-flag { font-size: 0.82rem; font-weight: 700; color: var(--purple); }
.booker-label { margin: 18px 0 8px; font-weight: 800; color: var(--blue); }
#booker-days, #booker-times { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { min-height: 44px; padding: 8px 14px; background: transparent; color: var(--blue); border: 2px solid var(--blue); border-radius: 10px; font: 500 0.92rem 'Poppins', system-ui, sans-serif; cursor: pointer; }
.slot[aria-pressed="true"] { background: var(--blue); color: var(--cream); }
.slot:focus-visible { outline-color: var(--purple); }
#booker-confirm { margin-top: 22px; width: 100%; background: var(--blue); color: var(--cream); }
#booker-result { margin-top: 12px; font-size: 0.9rem; font-weight: 500; min-height: 1.4em; }
#booker.is-live { padding: 12px; background: var(--white); }
#booker-cal { width: 100%; min-height: 520px; overflow: auto; }
#booker-live { display: block; margin: 10px 6px 4px; font-size: 0.85rem; font-weight: 600; color: var(--blue); }

#hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 2px var(--cream); }
.btn-ghost:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--cream); background: rgba(255, 255, 255, 0.08); }
.btn-blue { background: var(--blue); color: var(--cream); }

#cost { background: var(--white); padding: 56px 0 72px; }
#cost-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
#cost-kicker { color: var(--purple); margin-bottom: 12px; }
#cost-title { color: var(--blue); max-width: 16em; }
#cost-lede { margin-top: 18px; max-width: 36em; font-size: 1.1rem; }
#cost-cards { display: grid; gap: 16px; margin-top: 30px; }
.cost-card { padding: 20px; background: var(--lilac); border-radius: var(--card); }
.cost-card-title { font-weight: 800; color: var(--blue); margin-bottom: 6px; }
#cost-source { color: #4a4a6a; }

#saving { background: var(--cyan); padding: 72px 0; }
#saving-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); display: grid; gap: 30px; }
#saving-kicker { color: var(--blue); margin-bottom: 12px; }
#saving-title { color: var(--blue); }
#saving-lede { margin-top: 18px; max-width: 32em; }
#calc { background: var(--white); padding: 24px; border-radius: var(--card); display: grid; gap: 14px; }
.calc-row { display: grid; gap: 6px; font-weight: 500; }
.calc-name { font-size: 0.95rem; }
.calc-hint { margin-top: -8px; font-size: 0.85rem; line-height: 1.45; color: #3d3d5c; }
.calc-unit { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); }
#calc input { width: 100%; min-height: 48px; padding: 8px 12px; border: 2px solid var(--blue); border-radius: 12px; font: 700 1.1rem 'Poppins', system-ui, sans-serif; color: var(--ink); background: var(--white); }
.calc-unit input { max-width: 140px; }
#calc input:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
#calc-result { margin-top: 6px; padding: 18px; background: var(--blue); color: var(--cream); border-radius: 16px; }
#calc-result-visits { font-weight: 500; }
#calc-result-money { margin-top: 6px; font-weight: 500; }
#calc-out-visits, #calc-out-money { display: block; font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.1; color: var(--cyan); }
#calc-result-note { color: var(--cream); font-size: 0.92rem; font-weight: 500; }
#calc-sources { color: #3d3d5c; }
#calc-book { text-align: center; }

#addon { background: var(--white); color: var(--ink); padding: 72px 0; }
#addon-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
#addon-kicker { color: var(--purple); margin-bottom: 12px; }
#addon-title { color: var(--blue); max-width: 16em; }
#addon-lede { margin-top: 18px; max-width: 40em; font-size: 1.1rem; }
#addon-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 46em; }
#addon-points li { position: relative; padding-left: 34px; font-weight: 500; }
#addon-points li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); border: 2.5px solid var(--blue); }

#pilot { background: var(--blue); color: var(--white); padding: 72px 0; }
#pilot-inner { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
#pilot-kicker { margin-bottom: 12px; }
#pilot-title { color: var(--cream); max-width: 16em; }
#pilot-lede { margin-top: 18px; max-width: 34em; font-size: 1.1rem; }
#pilot-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 18px; }
.pilot-step { position: relative; padding: 20px; background: var(--white); color: var(--ink); border-radius: var(--card); }
.pilot-num { margin-bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cyan); color: var(--blue); font-weight: 800; }
.pilot-step-title { font-weight: 800; color: var(--blue); margin-bottom: 4px; }

#procurement { background: var(--cream); padding: 72px 0; }
#procurement-inner { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
#procurement-kicker { color: var(--purple); margin-bottom: 12px; }
#procurement-title { color: var(--blue); }
#procurement-list { margin-top: 28px; }
.faq { border-top: 2px solid var(--purple); }
.faq:last-child { border-bottom: 2px solid var(--purple); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 800; color: var(--blue); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; font-weight: 500; }
.faq[open] summary::after { content: '\2212'; }
.faq summary:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.faq p { padding: 0 0 18px; max-width: 40em; }

#site-footer { background: var(--ink); color: var(--lilac); font-size: 0.85rem; }
#site-footer-inner { max-width: 1120px; margin: 0 auto; padding: 22px var(--gutter); display: flex; flex-wrap: wrap; gap: 8px 22px; }
#footer-name { font-weight: 800; color: var(--cream); }
#site-footer-inner { align-items: center; }
#footer-logos { display: flex; align-items: center; gap: 14px; margin-left: auto; }
#footer-logos a { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 8px; }
#footer-morepour-link { background: var(--white); }
#footer-logos img { display: block; height: auto; }
#footer-morepour-logo { width: 140px; }
#footer-hcr-logo { width: 64px; }
#footer-logos a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 600px) { #footer-logos { margin-left: 0; width: 100%; } }

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  #hero-inner { grid-template-columns: 1fr 340px; align-items: start; gap: 64px; padding-top: 44px; }
  #hero-copy { padding-bottom: 72px; }
  #hero-film { margin: 0 0 56px; width: 340px; max-width: none; }
  #cost { padding-top: 72px; }
  #cost-cards { grid-template-columns: repeat(3, 1fr); }
  #saving-inner { grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
  #pilot-steps { grid-template-columns: repeat(3, 1fr); }
  #call { padding-top: 72px; }
  #call-inner { grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
  #call-film { order: 1; width: 300px; max-width: none; }
  #call-copy { order: 2; }
  #desks-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  #team-inner { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  #book-inner { grid-template-columns: 1fr 600px; gap: 56px; align-items: start; }
}

#wordmark, #header-book { white-space: nowrap; }
@media (max-width: 440px) {
  #site-header-inner { gap: 10px; }
  #wordmark { font-size: 1.1rem; }
  #header-book { padding: 9px 12px; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
