/* FasTreat — Private ADHD Assessment London
   Static landing page stylesheet. No build step required. */

/* ---------- Tokens ---------- */
:root {
  --ink: #20173c;
  --muted: #625c78;
  --lilac: #f2ecff;
  --lilac-soft: #fbfaff;
  --yellow: #ffbf45;
  --yellow-deep: #f5ac1f;
  --line: #ddd6e8;
  --dark: #261e48;
  --accent: #755394;
  --accent-strong: #67549a;
  --accent-on-dark: #c9b3ef;
  --focus: #6a3fd1;
  --header-h: 76px;
  --radius: 10px;
  --shell: 1180px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
main section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: auto; }

/* Visible focus for every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
a:focus-visible { border-radius: 4px; }
.pricing a:focus-visible,
.final-cta a:focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  height: var(--header-h);
  border-bottom: 1px solid #ebe8f1;
  display: flex;
  align-items: center;
  gap: 42px;
  padding: 0 max(24px, calc((100vw - var(--shell)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 254, 253, .92);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
}
.brand {
  color: var(--ink) !important;
  font-size: 24px !important;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--yellow); font-size: 10px; vertical-align: top; }
.site-header nav { display: flex; gap: 25px; margin-right: auto; }
.site-header a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-header nav a { padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease, color .15s ease; }
.site-header nav a:hover { color: var(--accent); border-bottom-color: var(--yellow); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.login:hover { color: var(--accent); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  background: var(--yellow);
  color: var(--ink) !important;
  text-decoration: none;
  border-radius: 8px;
  padding: 14px 21px;
  font-weight: 750;
  line-height: 1.2;
  box-shadow: 0 8px 18px rgba(255, 191, 69, .22);
  border: 1px solid var(--yellow);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.button:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); box-shadow: 0 10px 22px rgba(245, 172, 31, .3); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button b { transition: transform .15s ease; }
.button:hover b { transform: translateX(3px); }
.button-small { min-height: 40px; padding: 10px 16px; font-size: 14px; }
.button-outline { background: #fff; box-shadow: none; }
.button-outline:hover { background: #fff6e3; box-shadow: none; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: .045em;
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow span {
  flex: none;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px #fff1d6;
}
.hero h1, .section h2, .final-cta h2 {
  font-size: clamp(40px, 4.1vw, 62px);
  line-height: 1.05;
  letter-spacing: -1.9px;
  margin: 0 0 22px;
  max-width: 660px;
}
.section h2, .final-cta h2 { text-wrap: balance; }
.hero h1 em, .section h2 em { font-style: normal; color: #8364a5; }
.hero h1 em { display: inline-block; }
.section { padding: 94px 0; }
.hero + .options { padding-top: 64px; }
.section-intro { max-width: 670px; margin-bottom: 42px; }
.section-intro h2 { font-size: 40px; letter-spacing: -1.1px; margin-bottom: 13px; }
.section-intro > p:last-child:not(.eyebrow) { color: var(--muted); margin: 0; font-size: 16px; }
.section-intro a { color: var(--accent); font-weight: 700; text-underline-offset: 2px; text-decoration-color: #c8bdd9; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.section-note { font-size: 12px; color: var(--muted); margin: 15px 0 0; }
.section-note + .section-note { margin-top: 6px; }
.section-note a { color: var(--accent); font-weight: 700; text-underline-offset: 2px; text-decoration-color: #c8bdd9; }
.section-note a:hover { text-decoration-color: currentColor; }
.text-link { color: var(--accent); font-weight: 750; text-decoration: none; display: inline-block; margin-top: 9px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 54px;
  align-items: center;
  padding: 72px 0 40px;
}
.lead { font-size: 18px; line-height: 1.55; max-width: 565px; color: var(--muted); margin: 0 0 27px; }
.lead strong { color: var(--ink); }
.hero-proof { display: flex; gap: 34px; margin: 27px 0 10px; }
.hero-proof > div { display: flex; flex-direction: column; padding-right: 34px; border-right: 1px solid var(--line); }
.hero-proof > div:last-child { border: 0; padding-right: 0; }
.hero-proof strong { font-size: 25px; }
.hero-proof span, .microcopy { font-size: 11px; color: var(--muted); }
.microcopy { max-width: 500px; margin: 16px 0 0; }
.footnote-ref { color: inherit; text-decoration: none; font-weight: 600; padding: 0; margin-left: 1px; }
.footnote-ref:hover { color: var(--accent); }

.hero-visual { height: 470px; position: relative; display: flex; justify-content: center; align-items: end; }
.hero-image {
  height: 432px;
  width: 88%;
  background: #eee7f8;
  border-radius: 178px 178px 10px 10px;
  overflow: hidden;
  z-index: 2;
  position: relative;
}
.hero-image img { height: 100%; width: 100%; object-fit: cover; object-position: center top; }
.hero-orbit { position: absolute; width: 104%; height: 96%; border: 1px solid #d9caef; border-radius: 50%; left: -5%; top: 3%; z-index: 1; }
.provider-chip, .price-chip {
  z-index: 3;
  background: #fff;
  border: 1px solid #e5dfeb;
  box-shadow: 0 18px 36px rgba(32, 23, 60, .09);
  border-radius: 8px;
  padding: 14px 16px;
  position: absolute;
}
.provider-chip { display: flex; gap: 10px; align-items: center; left: -18px; bottom: 42px; }
.provider-chip i { flex: none; height: 10px; width: 10px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 0 5px #fff3dc; }
.provider-chip strong, .price-chip strong { display: block; font-size: 13px; }
.provider-chip small, .price-chip small { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }
.price-chip { right: 0; top: 10px; text-align: center; padding: 15px 20px; }
.price-chip strong { font-size: 23px; }

/* ---------- Comparison table ---------- */
.comparison-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
}
.comparison-wrap table { border-collapse: collapse; width: 100%; min-width: 740px; font-size: 14px; }
.comparison-wrap th, .comparison-wrap td { border-bottom: 1px solid var(--line); padding: 21px 23px; text-align: left; vertical-align: top; }
.comparison-wrap tbody tr:last-child th, .comparison-wrap tbody tr:last-child td { border-bottom: 0; }
.comparison-wrap thead th { font-size: 15px; background: #faf8fd; }
.comparison-wrap tbody th { font-size: 13px; color: var(--muted); width: 18%; background: #fff; }
.comparison-wrap .featured { background: #fff8e9 !important; }
.comparison-wrap thead .featured { box-shadow: inset 0 3px 0 var(--yellow); }
.comparison-wrap a { color: var(--accent); font-weight: 750; text-decoration: none; }
.comparison-wrap a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Edge fade shows there is more to swipe (set by script.js) */
.table-scroller { position: relative; }
.table-scroller::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 36px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(32, 23, 60, .08));
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.table-scroller.can-scroll-right::after { opacity: 1; }

/* ---------- Journey ---------- */
.journey { background: var(--lilac-soft); }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.journey article { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 25px; }
.journey article span, .step { font-size: 12px; font-weight: 800; color: #76589c; }
.journey h3, .price-card h3, .steps h3 { font-size: 19px; margin: 12px 0 8px; line-height: 1.25; }
.journey p, .price-card p, .steps p { color: var(--muted); font-size: 14px; margin: 0; }

/* ---------- Pricing ---------- */
.pricing { background: var(--dark); color: #fff; }
.pricing .eyebrow, .final-cta .eyebrow { color: var(--accent-on-dark); }
.pricing .eyebrow span, .final-cta .eyebrow span { box-shadow: 0 0 0 5px rgba(255, 191, 69, .22); }
.light h2 { color: #fff; }
.pricing .section-intro h2 em { color: var(--accent-on-dark); }
.price-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 17px; align-items: stretch; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 29px; display: flex; flex-direction: column; }
.main-price { background: var(--lilac); box-shadow: inset 0 0 0 2px var(--yellow); }
.price-card .price { margin: 12px 0 2px; color: var(--ink); }
.price b { font-size: 39px; letter-spacing: -1px; }
.price del { font-size: 15px; color: var(--muted); margin-left: 6px; }
.price small { font-size: 14px; color: var(--muted); }
.price-card ul { padding: 0; list-style: none; margin: 22px 0; }
.price-card li { font-size: 13px; margin: 10px 0; padding-left: 22px; position: relative; }
.price-card li::before { content: '✓'; color: #3f9f75; font-weight: 900; position: absolute; left: 0; }
.main-price .button { align-self: flex-start; margin: 18px 0 4px; }
.divider { border-top: 1px solid var(--line); margin: 23px 0; }
.price-card p + p { margin-top: 8px; }
.price-card .price-source { font-size: 11px; margin-top: 6px; }
.price-trust { margin-top: auto; background: #f5f1fb; padding: 15px; border-radius: 7px; display: flex; flex-direction: column; font-size: 12px; }
.price-card > p + .price-trust { margin-top: 28px; }
.price-trust span { color: var(--muted); margin-top: 3px; }
.pricing-note { color: #d5cae5; text-align: center; font-size: 12px; margin: 22px auto 0; max-width: 760px; }

/* ---------- Carousels (clinicians + reviews) ---------- */
.carousel-head { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin: -16px 0 18px; }
.carousel-head .section-note { margin: 0; }
.carousel-controls { display: flex; gap: 8px; flex: none; }
.carousel-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .15s ease, border-color .15s ease, opacity .15s ease;
}
.carousel-button:hover:not(:disabled) { background: var(--lilac); border-color: #c8b8e0; }
.carousel-button:disabled { opacity: .35; cursor: default; }
.carousel-track {
  --per-view: 3;
  --gap: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 16px;
  margin-top: -4px;
  scrollbar-width: thin;
  scrollbar-color: #cfc3e2 transparent;
}
.carousel-track > * { scroll-snap-align: start; }
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: #cfc3e2; border-radius: 6px; }
.carousel-track:focus-visible { outline-offset: 0; }

/* Clinician cards (information density mirrors fastreat.co.uk) */
.clinician-card { position: relative; border: 1px solid #f2f4f7; border-radius: 24px; overflow: hidden; background: #fbfcff; display: flex; flex-direction: column; box-shadow: 0 6px 20px rgba(16, 24, 40, .06); transition: box-shadow .2s ease, transform .2s ease; }
.clinician-card:hover { box-shadow: 0 14px 32px rgba(16, 24, 40, .12); transform: translateY(-2px); }
.clinician-media { position: relative; height: 234px; display: flex; justify-content: center; background: radial-gradient(94.87% 94.87% at 50% 50%, #fff 0%, #d0d3da 100%); overflow: hidden; }
.clinician-media img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: center top; }
.clinician-media::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; background: linear-gradient(0deg, rgba(60, 62, 66, .7) 0%, rgba(134, 134, 134, 0) 100%); pointer-events: none; }
.clinician-overlay { position: absolute; z-index: 1; left: 16px; bottom: 10px; margin: 0; padding-left: 8px; border-left: 3px solid #fff; color: #fff; font-size: 13px; line-height: 18px; font-weight: 500; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.clinician-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.clinician-badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #7440b1; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(16, 24, 40, .08); }
.clinician-body h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; font-size: 20px; font-weight: 600; line-height: 1.25; color: #101828; }
.clinician-body h3 a { color: inherit; text-decoration: none; }
.clinician-body h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; } /* whole card is clickable */
.clinician-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.clinician-body h3 a:focus-visible { outline: none; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: 4px; font-size: 13px; font-weight: 500; color: #12b76a; background: #ecfdf3; }
.clinician-chevron { margin-left: auto; flex: none; color: #667085; transition: transform .2s ease; }
.clinician-card:hover .clinician-chevron { transform: translateX(3px); color: var(--accent); }
.clinician-role { margin: 0 0 12px; color: #7440b1; font-size: 15px; font-weight: 500; line-height: 21px; }
.clinician-bio { margin: 0; padding-bottom: 16px; border-bottom: 1px solid #eaecf0; color: #525e6f; font-size: 14px; line-height: 21px; }
.clinician-creds { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.clinician-creds li { position: relative; padding-left: 30px; color: #525e6f; font-size: 14px; line-height: 20px; }
.clinician-creds li::before { content: ''; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #7440b1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.clinician-tags { list-style: none; margin: 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.clinician-tags li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 12px; border-radius: 24px; background: #f8f3fc; color: #7440b1; font-size: 12px; font-weight: 500; text-align: center; }
.section-note.clinical-governance { margin-top: 28px; }
.section-note.clinical-governance strong { color: var(--ink); font-weight: 700; }
.section-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Pricing: feature list with secondary lines, GMC line as on fastreat.co.uk */
.price-features li span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.price-card li.price-feature-gmc { font-weight: 600; }
.price-card li.price-feature-gmc::before { content: '✱'; color: #f5a524; font-size: 14px; top: -1px; }

/* Review cards */
.review-track blockquote {
  margin: 0;
  background: var(--lilac);
  border-radius: 9px;
  padding: 27px;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.5;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-track blockquote footer {
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  margin-top: 19px;
  padding-top: 14px;
  border-top: 1px solid rgba(117, 83, 148, .18);
}
.review-track blockquote footer span { color: var(--muted); margin-left: 6px; font-weight: 600; }

/* ---------- How it works ---------- */
.how { background: var(--lilac); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 18px;
  right: calc(25% - 5px);
  border-top: 1px dashed #a58ac7;
}
.steps article { position: relative; }
.steps b {
  position: relative;
  display: grid;
  place-items: center;
  height: 37px;
  width: 37px;
  border: 1px solid #d4c5e6;
  background: #fff;
  border-radius: 50%;
  font-size: 13px;
  color: #725597;
  margin-bottom: 18px;
}
.steps h3 { font-size: 16px; }
.screening-cta {
  margin-top: 44px;
  border: 1px solid #d8cbe8;
  background: #fffdf9;
  border-radius: var(--radius);
  padding: 19px 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.screening-cta div { display: flex; flex-direction: column; }
.screening-cta span { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* ---------- Availability ---------- */
.availability { background: #f6f4f9; }
.availability-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: start; }
.availability h2 { font-size: 40px; letter-spacing: -1.1px; margin-bottom: 13px; }
.availability-grid > div > p:not(.eyebrow) { color: var(--muted); max-width: 500px; }
.resource-list { border-top: 1px solid var(--line); }
.resource-list a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 20px;
  padding: 18px 4px;
  font-size: 14px;
  transition: background-color .15s ease, padding .15s ease;
}
.resource-list a b { grid-column: 1; }
.resource-list a span { grid-column: 1; color: var(--muted); font-size: 12px; margin-top: 3px; }
.resource-list a::after { content: '↗'; grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #7a589e; font-size: 18px; transition: transform .15s ease; }
.resource-list a:hover { background: rgba(255, 255, 255, .7); padding-left: 10px; padding-right: 10px; }
.resource-list a:hover::after { transform: translate(2px, -2px); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 850px; margin: auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }
.faq-list summary span {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: #7e619e;
  background: var(--lilac);
  transition: transform .2s ease, background-color .2s ease;
}
.faq-list details[open] summary span { transform: rotate(45deg); background: #fff1d6; }
.faq-list details p { max-width: 700px; margin: 0 46px 22px 0; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final-cta { background: var(--dark); color: #fff; text-align: center; padding: 92px 0; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: 37px; letter-spacing: -1px; max-width: 790px; margin: 0 auto 28px; }

/* ---------- Footer (mirrors live fastreat.co.uk footer) ---------- */
.site-footer {
  background: #26263d;
  color: #fff;
  border-radius: 48px 48px 0 0;
  margin-top: -48px;
  position: relative;
  z-index: 1;
}
.footer-shell { max-width: 1280px; margin: 0 auto; padding: 72px 40px; }
.footer-main { display: flex; gap: 142px; }
.footer-brand { width: 282px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer-logo img { height: 32px; width: auto; }
.footer-brand p { margin: 0; font-size: 18px; font-weight: 500; line-height: 30px; }
.footer-country { display: flex; align-items: center; gap: 9px; height: 52px; width: 247px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; font-size: 18px; }
.footer-country svg { flex: none; }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.footer-badges a { flex: none; display: block; }
.badge-cqc { width: 159px; height: auto; }
.badge-legitscript { width: 47px; height: auto; }
.footer-cols { flex: 1; min-width: 0; display: flex; gap: 32px; justify-content: space-between; }
.footer-col { flex: none; display: flex; flex-direction: column; }
.footer-col-title { margin: 0; color: #fff; font-size: 20px; font-weight: 700; line-height: 22px; }
.footer-col-toggle { all: unset; display: block; pointer-events: none; }
.footer-col-icon { display: none; }
.footer-col-links { margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.site-footer a { color: #fff; text-decoration: none; transition: opacity .2s ease; }
.site-footer a:hover { opacity: .8; }
.footer-col-links a { font-size: 18px; line-height: 20px; }
.footer-contact { width: 282px; }
.footer-contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 20px; }
.footer-contact-list a, .footer-contact-list p { display: flex; align-items: center; gap: 6px; margin: 0; }
.footer-contact-list p { align-items: flex-start; gap: 8px; line-height: 30px; }
.footer-contact-list svg { width: 20px; height: 20px; flex: none; }
.footer-contact-list p svg { margin-top: 5px; }
.footer-contact-list .u { text-decoration: underline; }
.footer-bottom { margin-top: 88px; padding-top: 24px; border-top: 1px solid #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-social { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.footer-social a { display: flex; flex: none; }
.footer-social svg, .footer-social img { width: 36px; height: 36px; }
.social-disc { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.social-disc svg { width: 18px; height: 18px; color: #7440b1; }
.footer-copy { margin: 0; font-size: 18px; line-height: 30px; }
.footer-copy sup { font-size: 8px; position: relative; top: -2px; }
.footer-copy a { text-decoration: underline; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline-color: #ffbf45; }
.final-cta { padding-bottom: 140px; }

@media (max-width: 1279px) {
  .footer-main { gap: 56px; }
  .footer-cols { flex-wrap: wrap; row-gap: 40px; }
}
@media (max-width: 1023px) {
  .footer-main { flex-direction: column; gap: 48px; }
  .footer-brand { width: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero { gap: 36px; }
  .hero-visual { height: 420px; }
  .hero-image { height: 390px; }
  .availability-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-grid .main-price { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps::before { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .site-header { padding: 0 16px; gap: 12px; }
  .site-header nav, .login { display: none; }
  .header-actions { margin-left: auto; }
  .brand { font-size: 22px !important; }
  .shell { width: calc(100% - 32px); }

  .hero { display: flex; flex-direction: column; padding: 40px 0 24px; gap: 28px; align-items: stretch; }
  .hero h1 { font-size: 36px; letter-spacing: -1.2px; max-width: 100%; overflow-wrap: break-word; }
  .lead { font-size: 16px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 17px; }
  .hero-proof > div { padding-right: 17px; }
  .microcopy { max-width: 100%; }
  .hero-visual { height: 340px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-image { height: 318px; width: 82%; border-radius: 135px 135px 8px 8px; }
  .provider-chip { left: 0; bottom: 16px; }
  .price-chip { right: 0; top: 0; padding: 12px 16px; }

  .section { padding: 64px 0; }
  .hero + .options { padding-top: 40px; }
  .section-intro { margin-bottom: 30px; }
  .section-intro h2, .availability h2 { font-size: 32px; letter-spacing: -.8px; }

  .comparison-wrap { border-radius: 10px; }
  .comparison-wrap table { min-width: 660px; font-size: 13px; }
  .comparison-wrap th, .comparison-wrap td { padding: 16px 14px; }
  /* Keep row labels visible while swiping */
  .comparison-wrap tbody th, .comparison-wrap thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 108px;
    min-width: 108px;
    box-shadow: 1px 0 0 var(--line);
  }
  .comparison-wrap thead th:first-child { background: #faf8fd; }
  .table-scroller::after { border-radius: 0 10px 10px 0; }

  .journey-grid, .price-grid { grid-template-columns: 1fr; }
  .price-grid .main-price { grid-column: auto; }
  .main-price .button { align-self: stretch; }

  .carousel-track { --per-view: 2; --gap: 12px; }
  .clinician-media { height: 200px; }
  .section-cta .button { width: 100%; max-width: 420px; }
  .review-track blockquote { min-height: 240px; padding: 20px; font-size: 15px; }

  .screening-cta { flex-direction: column; align-items: stretch; }
  .screening-cta .button { width: 100%; text-align: center; }
  .availability-grid { display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .faq-list summary { font-size: 16px; }
  .faq-list details p { margin-right: 0; font-size: 14px; }
  .final-cta { padding: 70px 0; }
  .final-cta h2 { font-size: 30px; }
  .final-cta .button { width: 100%; max-width: 420px; }

}

/* Narrow phones: one large card with the next one peeking */
@media (max-width: 560px) {
  .carousel-track { --per-view: 1; grid-auto-columns: 84%; }
  .carousel-head { align-items: flex-end; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .hero-proof strong { font-size: 22px; }
  .site-header .button-small { padding: 9px 12px; }
}

/* Mobile footer: accordion, as on the live site */
@media (max-width: 799px) {
  .site-footer { border-radius: 20px 20px 0 0; margin-top: -20px; }
  .final-cta { padding-bottom: 90px; }
  .footer-shell { max-width: 375px; padding: 32px 40px; }
  .footer-main { gap: 24px; }
  .footer-brand { gap: 16px; }
  .footer-logo img { height: 16px; }
  .footer-brand p { font-size: 16px; line-height: 24px; }
  .footer-country { width: 235px; font-size: 14px; }
  .badge-cqc { width: 90px; }
  .badge-legitscript { width: 36px; }
  .footer-cols { flex-direction: column; gap: 24px; padding-top: 24px; border-top: 1px solid #fff; }
  .footer-col-title { font-size: 16px; font-weight: 500; line-height: 24px; }
  .footer-col-toggle { pointer-events: auto; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: space-between; }
  .footer-col-icon { display: block; position: relative; width: 20px; height: 20px; }
  .footer-col-icon::before, .footer-col-icon::after { content: ''; position: absolute; left: 50%; top: 50%; background: #fff; transform: translate(-50%, -50%); }
  .footer-col-icon::before { width: 12px; height: 2px; }
  .footer-col-icon::after { width: 2px; height: 12px; transition: transform .2s ease; }
  .footer-col-toggle[aria-expanded="true"] .footer-col-icon::after { transform: translate(-50%, -50%) scaleY(0); }
  .footer-col-links { margin-top: 16px; gap: 16px; }
  .footer-col-links[hidden] { display: none; }
  .footer-col-links a { font-size: 14px; line-height: 21px; }
  .footer-contact { width: auto; padding-top: 24px; margin-top: 0; border-top: 1px solid #fff; order: 9; }
  .footer-contact-title { display: none; }
  .footer-contact-list { margin-top: 0; gap: 16px; font-size: 14px; line-height: 21px; }
  .footer-contact-list a { gap: 12px; }
  .footer-contact-list p { gap: 12px; line-height: 21px; }
  .footer-contact-list p svg { margin-top: 0; }
  .footer-bottom { margin-top: 24px; padding-top: 0; border-top: 0; gap: 24px; }
  .footer-copy { font-size: 12px; line-height: 18px; }
}

/* H5: comfortable tap targets (>= 44px) on touch screens */
@media (max-width: 799px) {
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
      .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .section-note a, .section-intro a { padding: 6px 0; }
  .footer-col-toggle { min-height: 44px; }
  .footer-cols { gap: 8px; }
  .footer-col-links { margin-top: 4px; gap: 0; }
  .footer-col-links a { display: flex; align-items: center; min-height: 44px; }
  .footer-contact-list { gap: 0; }
  .footer-contact-list a { min-height: 44px; }
  .footer-contact-list p { padding: 10px 0; }
  .footer-social { gap: 4px; }
  .footer-social a { padding: 4px; }
  .footer-badges a { display: flex; align-items: center; min-height: 44px; }
  .footer-logo { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-copy a { display: inline-block; padding: 8px 0; }
  .faq-list summary { min-height: 56px; }
}

/* H5: keep CTAs within one screen on phones */
@media (max-width: 799px) {
  /* Journey cards become a swipeable row so the CTA sits right below */
  .journey-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 12px; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  .journey-grid::-webkit-scrollbar { display: none; }
  .journey-grid article { scroll-snap-align: start; padding: 20px; }
  .journey .section-cta, #clinicians .section-cta { margin-top: 24px; }
  .journey .section-intro, .clinicians .section-intro { margin-bottom: 22px; }
  /* Compact clinician cards on phones */
  .clinician-media { height: 180px; }
  .clinician-body { padding: 16px 18px 18px; }
  .clinician-body h3 { font-size: 18px; margin-bottom: 2px; }
  .clinician-role { font-size: 13px; line-height: 18px; margin-bottom: 10px; }
  .clinician-bio { font-size: 13px; line-height: 19px; padding-bottom: 12px; }
  .clinician-creds { margin-top: 12px; gap: 8px; }
  .clinician-creds li { font-size: 13px; line-height: 18px; }
  .clinician-tags { padding-top: 12px; gap: 6px; }
  .clinician-tags li { flex: 0 1 auto; min-height: 28px; padding: 4px 9px; font-size: 11px; letter-spacing: -.2px; white-space: nowrap; }
  .clinician-tags { gap: 6px; }
  .carousel-head { margin: -8px 0 12px; }
  /* Pricing card */
  .price-card { padding: 22px; }
  .price-card ul { margin: 14px 0 0; }
  .price-card li { margin: 7px 0; }
  .pricing .section-intro { margin-bottom: 24px; }
  .steps { gap: 20px; }
  .screening-cta { margin-top: 28px; }
}
/* Short phones (e.g. iPhone SE, small Android, browser toolbars visible) */
@media (max-width: 799px) and (max-height: 700px) {
  .hero { padding-top: 24px; gap: 20px; }
  .hero .eyebrow { margin-bottom: 8px; }
  .hero h1 { font-size: 30px; margin-bottom: 12px; }
  .lead { font-size: 15px; margin-bottom: 18px; }
  .section { padding: 48px 0; }
  .section-intro h2, .availability h2 { font-size: 28px; }
}
/* Landscape phones / short split-screen windows */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 56px; }
  .site-header { height: 56px; }
  .hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; padding: 16px 0 24px; align-items: start; }
  .hero .eyebrow { margin-bottom: 6px; }
  .hero h1 { font-size: 26px; letter-spacing: -.8px; margin-bottom: 8px; }
  .lead { font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
  .hero-actions .button { width: auto; min-height: 44px; padding: 10px 18px; }
  .hero-visual { height: 260px; width: 100%; max-width: none; margin: 0; }
  .hero-image { height: 240px; width: 86%; border-radius: 110px 110px 8px 8px; }
  .provider-chip { display: none; }
  .price-chip { padding: 8px 12px; }
  .price-chip strong { font-size: 18px; }
  .section { padding: 40px 0; }
  .section-intro { margin-bottom: 18px; }
  .section-intro h2, .availability h2 { font-size: 26px; }
  .journey-grid { grid-auto-columns: 46%; }
  .carousel-track { --per-view: 2; grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .clinician-media { height: 150px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price-grid .main-price { grid-column: auto; }
  .final-cta { padding: 48px 0 80px; }
}

/* Mobile floating CTA — mirrors fastreat.co.uk (<768px): header "Get Started" floats bottom-right */
.header-cta-icon { display: none; }
@media (max-width: 767.98px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; box-shadow: 0 1px 6px rgba(16, 24, 40, .06); }
  .site-header .header-cta {
    position: fixed; right: 28px; bottom: 60px; z-index: 30;
    width: 124px; min-height: 46px; height: 46px; padding: 0 12px; gap: 5px;
    border: 0; border-radius: 6px; color: #fff !important; font-size: 14px;
    background: linear-gradient(138.34deg, #f6a163 -6.54%, #5a67d9 98.08%);
    box-shadow: 0 0 10.7px 1px rgba(0, 0, 0, .15);
    animation: cta-float 1.5s ease-in-out infinite;
  }
  .site-header .header-cta:hover { background: linear-gradient(138.34deg, #f6a163 -6.54%, #5a67d9 98.08%); transform: none; }
  .site-header .header-cta:focus-visible { outline-color: #26263d; }
  .header-cta-icon { display: inline; font-size: 14px; }
  .site-footer .footer-shell { padding-bottom: 128px; } /* keep footer content clear of the floating button */
}
@keyframes cta-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.25em); } }
@media (max-height: 400px) and (orientation: landscape) {
  .hero { grid-template-columns: 1.4fr .6fr; padding-top: 10px; }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 22px; line-height: 1.1; }
  .lead { font-size: 13px; margin-bottom: 10px; }
  .hero-visual { height: 200px; }
  .hero-image { height: 186px; }
  .site-header .header-cta { bottom: 20px; right: 20px; }
}

/* H5 first screen: doctor first (mirrors fastreat.co.uk mobile hero: H1 → clinician photo → CTA) */
.doctor-chip { display: none; }
@media (max-width: 767.98px) and (orientation: portrait), (max-width: 767.98px) and (min-height: 521px) {
  .hero-copy { display: contents; }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; margin-bottom: 0; }
  .hero-visual { order: 3; height: 300px; margin-top: -4px; }
  .hero-actions { order: 4; margin-top: -8px; position: relative; z-index: 4; }
  .lead { order: 5; margin-bottom: 0; }
  .trust-badges { order: 6; margin-top: 0; }
    .microcopy { order: 8; margin-top: -4px; }
  .hero { gap: 16px; }
  .hero-image { height: 290px; width: 78%; }
  .hero-orbit { display: none; }
  .provider-chip { display: none; }
  .price-chip { top: 6px; right: 4px; }
  .doctor-chip {
    display: flex; align-items: center; gap: 12px; position: absolute; z-index: 3; left: 50%; bottom: 14px; transform: translateX(-50%);
    width: calc(100% - 24px); max-width: 343px; padding: 8px 12px; border-radius: 8px;
    background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 6px 18px rgba(32, 23, 60, .12);
    font-size: 11px; line-height: 15px; color: var(--ink);
  }
  .doctor-chip > div { flex: 1; display: flex; flex-direction: column; }
  .doctor-chip strong { font-size: 14px; line-height: 18px; }
  .doctor-chip i { width: 1px; align-self: stretch; background: #babecb; }
}
@media (max-width: 767.98px) and (max-height: 700px) and (orientation: portrait) {
  .hero-visual { height: 230px; }
  .hero-image { height: 222px; width: 70%; border-radius: 110px 110px 8px 8px; }
}

@media (max-width: 767.98px) and (max-height: 600px) and (orientation: portrait) {
  .hero { padding-top: 16px; gap: 12px; }
  .hero h1 { font-size: 27px; }
  .hero-visual { height: 200px; }
  .hero-image { height: 194px; width: 64%; border-radius: 96px 96px 8px 8px; }
  .price-chip { padding: 8px 12px; } .price-chip strong { font-size: 18px; }
}
@media (max-width: 330px) {
  .hero h1 { font-size: 27px; letter-spacing: -.8px; }
  .hero-actions .button { font-size: 15px; padding: 12px 14px; gap: 8px; }
  .doctor-chip { gap: 8px; padding: 6px 10px; font-size: 10px; }
  .doctor-chip strong { font-size: 13px; }
}
/* Floating CTA appears once the hero CTA has scrolled out of view (script.js), so only one CTA competes at a time */
@media (max-width: 767.98px) {
  .site-header .header-cta { transition: opacity .2s ease, visibility .2s ease; }
  .hero-cta-in-view .site-header .header-cta { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Pricing: swipeable steps on phones (Step 1 → Steps 2+3 → Step 4); plain grid on larger screens */
.price-carousel-head { display: none; }
@media (max-width: 767.98px) {
  .price-carousel-head { display: flex; margin: -8px 0 14px; }
  .pricing .carousel-button { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
  .pricing .carousel-button:hover:not(:disabled) { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
  .pricing .carousel-button:disabled { opacity: .3; }
  .price-grid.price-track {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px; align-items: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 4px 0 6px;
  }
  .price-grid.price-track::-webkit-scrollbar { display: none; }
  .price-grid.price-track > .price-card { scroll-snap-align: start; grid-column: auto; }
  .price-track:focus-visible { outline-color: #fff; outline-offset: 2px; }
}

/* Hero trust row — mirrors fastreat.co.uk: CQC + LegitScript logo links, then two rating chips */
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 22px 0 0; }
.trust-logos { display: flex; align-items: center; gap: 16px; }
.trust-logo-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 48px; border-radius: 6px; transition: opacity .2s ease; }
.trust-logo-link:hover { opacity: .8; }
.trust-logo-cqc { width: 120px; height: auto; }
.trust-logo-ls { width: 40px; height: auto; }
.trust-ratings { display: flex; gap: 12px; }
.rating-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1px solid #f5f5f5; border-radius: 8px; background: #fff; box-shadow: 3px 3px 20px rgba(0, 0, 0, .05); color: #000; text-decoration: none; transition: box-shadow .2s ease, transform .2s ease; }
.rating-chip:hover { box-shadow: 3px 6px 24px rgba(0, 0, 0, .09); transform: translateY(-1px); }
.rating-icon { width: 22px; height: 22px; flex: none; }
.rating-chip span { display: flex; flex-direction: column; }
.rating-chip strong { font-size: 16px; line-height: 20px; font-weight: 700; color: #000; }
.rating-chip small { font-size: 12px; line-height: 16px; color: #475467; white-space: nowrap; }
@media (max-width: 767.98px) {
  .trust-badges { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 2px; }
  .trust-ratings { order: 1; }
  .trust-logos { order: 2; gap: 20px; justify-content: center; }
  .rating-chip { flex: 1 1 0; min-width: 0; padding: 8px 12px; border: .5px solid #f2f4f7; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
  .rating-icon { width: 20px; height: 20px; }
  .rating-chip strong { font-size: 14px; }
  .rating-chip small { font-size: 10px; }
  .trust-logo-cqc { width: 104px; }
  .trust-logo-ls { width: 36px; }
}
@media (max-width: 340px) {
  .trust-ratings { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html, .carousel-track { scroll-behavior: auto; }
  .site-header .header-cta { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
