/* 7-0 page: what differs from the Institute page it was built from. Loaded last. */

/* card question and quiz results read in the display face */
.hq__q { font-family: var(--head); font-weight: 800; letter-spacing: -0.025em; }
h1, h2, .quiz__q { font-weight: 800; letter-spacing: -0.03em; }
h3 { font-weight: 800; letter-spacing: -0.02em; }
.lede b, .hero__sub b { font-weight: 700; }

/* the 7-0 logo is wider and shorter than the Institute lockup */
.nav__logo img { height: 34px; width: auto; }
.quiz__top img { height: 30px; width: auto; }
.foot__in > img { height: 34px; width: auto; }

/* the button that opens the calendar in a new tab sits above the calendar in the page */
.booking__link { margin-top: 22px; text-decoration: none; }
.quiz__cal .booking { margin-top: 18px; }
.quiz__cal .booking iframe { width: 100%; height: 720px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.quiz__cal .quiz__back { margin-top: 18px; }

@media (max-width: 760px) {
  /* no app panel here: How it works ends on its own, and Questions starts on its own */
  #how { padding-bottom: var(--ps-section); }
  #questions { padding-top: var(--ps-section); }
}

/* the blue band: the light blue label colour is too faint on logo blue, so labels there are near white */
#why .eyebrow--sky, #why .wont > p { color: rgba(255, 255, 255, .86); }
#why .wont svg { color: var(--white); }

@media (min-width: 761px) { .nav__logo img { height: 40px; } }

@media (max-width: 760px) {
  /* the three check marks sit under the question card, on the blue of the video section */
  .hero .ticks li { color: rgba(255, 255, 255, .9); }
  .hero .ticks svg { color: var(--white); }
}

/* Dec 5: a quieter, whiter palette for medical practices. The electric blue becomes a calm clinic blue,
   the page ground goes nearly white, and the "not you" list drops the red for slate. */
:root {
  --bg: #fbfcfd; --tint: #f3f5f9; --tint-2: #e6eaf1; --line: #e1e6ee;
  --accent: #1f4e96; --accent-up: #2a60b3; --accent-soft: #eef3fb; --accent-line: #d3deef; --sky: #a9c4ee;
  --band: #17386f;
  --err: #6b778c; --err-soft: #f7f8fa; --err-line: #e1e6ee; --warn: #9c2f1c;
  --shadow-btn: 0 10px 22px -10px rgba(23, 56, 111, .45);
}
#why { background: var(--band); }
@media (max-width: 760px) {
  #video { background: var(--band); }
  #video .frame { background: color-mix(in srgb, var(--band) 80%, var(--dark)); }
  #why .wont { background: color-mix(in srgb, var(--band) 92%, var(--white)); }
  #doctor .facts { background: var(--band); }
}

/* Dec 5: the checklist section is gone. On phones the video frame now hangs into "Why we ask first",
   so that section goes navy to keep a line for the frame to cross, and makes room for it. */
@media (max-width: 760px) {
  #why { background: var(--dark); padding-top: calc(84px + var(--ps-section)); }
  #why .wont { background: color-mix(in srgb, var(--dark) 90%, var(--white)); }
}

/* Dec 5: the video section has a heading and its own Book button; the button that replaces the video when it ends. */
.demo { flex-direction: column; }
.demo__head { margin-bottom: 40px; padding-inline: var(--gutter); }
.demo__head h2 { color: var(--white); }
.demo__cta { margin-top: 36px; }
.vid__end { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 20px; background: color-mix(in srgb, var(--dark) 92%, transparent); text-align: center; }
.vid__end[hidden] { display: none; }
.vid__end p { font-family: var(--head); font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -0.03em; color: var(--white); }
.vid__end button { background: none; border: 0; padding: 8px 12px; color: var(--on-dark); text-decoration: underline; cursor: pointer; font: inherit; }
@media (max-width: 760px) {
  .demo__head { margin-bottom: var(--ps-block); padding-inline: 0; }
  .demo__cta { display: none; } /* the thumb bar already holds this button on a phone */
}

/* the contact screen in the quiz */
.qf__field { margin-bottom: 16px; }
.qf__field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.qf__field input { width: 100%; min-height: 54px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); font: inherit; font-size: 17px; color: var(--ink); }
.qf__field input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.qf__field input[aria-invalid="true"] { border-color: var(--warn); }
.qf__err { margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--warn); }
.qf__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf .btn { margin-top: 8px; }
.qf__note { margin-top: 14px; font-size: 14.5px; color: var(--body); }
.qf__note a { color: var(--accent); }
.qf .quiz__q { margin-bottom: 22px; }

/* social links in the footer: plain underlined text links */
.foot__social { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.foot__social span { font-weight: 600; color: var(--ink); }
.foot__social a { color: var(--strong); text-underline-offset: 3px; }
.foot__social a:hover { color: var(--accent); }

/* Dec 5: the client's ad results, under the "who you're meeting" section. Figures in a ruled row, then two real screenshots. */
.res { grid-column: 1 / -1; margin-top: 8px; padding-top: 44px; border-top: 1px solid var(--line); }
.res h3 { font-size: clamp(22px, 2.2vw, 28px); }
.res__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 26px 0 0; }
.res__stats div { padding-top: 18px; border-top: 2px solid var(--ink); }
.res__stats dt { font-family: var(--head); font-weight: 800; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.res__stats dd { margin: 10px 0 0; font-size: 16px; font-weight: 500; color: var(--strong); max-width: 26ch; }
.res__shots { display: grid; grid-template-columns: 1.02fr 1fr; gap: 24px; align-items: start; margin-top: 40px; }
.res__shots figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: var(--shadow-soft); }
.res__shots img { display: block; width: 100%; height: auto; }
.res__note { margin-top: 18px; font-size: 14.5px; color: var(--body); }
@media (max-width: 760px) {
  .res { order: 1; margin-top: var(--ps-block); padding-top: var(--ps-block); text-align: left; }
  .res h3 { text-align: center; }
  .res__stats { grid-template-columns: 1fr; margin-top: 18px; }
  .res__stats div { padding: 16px 0; border-top: 1px solid var(--line); text-align: center; }
  .res__stats dt { font-size: 40px; }
  .res__stats dd { margin: 6px auto 0; font-size: 15.5px; max-width: 30ch; }
  .res__shots { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  .res__note { text-align: center; font-size: 14px; }
}

/* Dec 5: the result pictures float in one row you swipe through; a tap opens one full size. Replaces the three figures. */
.res__hint { margin-top: 8px; font-size: 15.5px; color: var(--body); }
.res__rail { display: flex; align-items: center; gap: 28px; margin: 18px calc(-1 * var(--gutter)) 0; padding: 26px var(--gutter) 46px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.res__rail li { flex: 0 0 min(620px, 84vw); scroll-snap-align: start; }
.res__rail li:nth-child(even) { margin-top: 26px; }
.res__rail li:nth-child(odd) { margin-bottom: 26px; }
.res__rail button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--card); cursor: zoom-in; box-shadow: 0 2px 4px rgba(11, 31, 58, .06), 0 30px 44px -22px rgba(11, 31, 58, .34); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.res__rail button:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(11, 31, 58, .06), 0 40px 54px -24px rgba(11, 31, 58, .4); }
.res__rail button:active { transform: scale(.985); }
.res__rail img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .res__rail li { animation: drift 7s ease-in-out infinite alternate; }
  .res__rail li:nth-child(even) { animation-delay: -3.5s; }
  .res__rail:hover li, .res__rail:focus-within li { animation-play-state: paused; }
  @keyframes drift { from { transform: translateY(0); } to { transform: translateY(-9px); } }
}
.shotbox { width: min(1500px, 96vw); max-width: none; max-height: 94dvh; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--card); color: var(--ink); overflow: hidden; }
.shotbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.shotbox::backdrop { background: rgba(8, 18, 38, .78); }
.shotbox__pic { overflow: auto; -webkit-overflow-scrolling: touch; }
.shotbox__pic img { display: block; width: 100%; height: auto; }
.shotbox__pic img.is-wide { min-width: 880px; } /* the wide tables stay readable on a phone: slide sideways */
.shotbox__x { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink); cursor: pointer; }
.shotbox__x svg { width: 18px; height: 18px; }
.shotbox__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--body); }
.shotbox__nav button { min-height: 44px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 760px) {
  .res__hint { text-align: center; }
  .res__rail { gap: 16px; margin-inline: calc(-1 * var(--ps-gutter, 14px)); padding: 18px var(--ps-gutter, 14px) 34px; scroll-padding-inline: var(--ps-gutter, 14px); }
  .res__rail li:nth-child(even) { margin-top: 16px; }
  .res__rail li:nth-child(odd) { margin-bottom: 16px; }
}
.shotbox[open] { padding-top: 60px; } /* a clear bar for the close button, so it never covers the picture */
.shotbox__x { top: 8px; }

/* Dec 5, later: the gallery shows ONE picture at a time (it was a row of several). Every slide is the same size,
   the picture sits whole inside it, and Previous / Next sit underneath. */
.res__rail { gap: 0; margin: 22px 0 0; padding: 0; max-width: 980px; margin-inline: auto; align-items: stretch; border-radius: var(--r-lg); background: var(--accent-soft); box-shadow: 0 2px 4px rgba(11, 31, 58, .06), 0 34px 50px -26px rgba(11, 31, 58, .36); scrollbar-width: none; scroll-padding-inline: 0; }
.res__rail::-webkit-scrollbar { display: none; }
.res__rail li, .res__rail li:nth-child(even), .res__rail li:nth-child(odd) { flex: 0 0 100%; margin: 0; animation: none; scroll-snap-align: center; scroll-snap-stop: always; }
.res__rail button, .res__rail button:hover { display: grid; place-items: center; height: 100%; aspect-ratio: 16 / 10; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.res__rail img { width: 100%; height: 100%; object-fit: contain; }
.res__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; font-size: 15.5px; font-weight: 600; color: var(--body); font-variant-numeric: tabular-nums; }
.res__nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 20px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--card); color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; transition: background .2s var(--ease), transform .15s var(--ease); }
.res__nav button:hover { background: var(--accent-soft); }
.res__nav button:active { transform: scale(.97); }
.res__nav button:disabled { opacity: .4; cursor: default; }
.res__nav svg { width: 16px; height: 16px; }
.res__nav .flip { transform: scaleX(-1); }
.res__hint, .res h3, .res__note { text-align: center; }
.res__note { max-width: 62ch; margin-inline: auto; }
.shotbox__pic img, .shotbox__pic img.is-wide { min-width: 0; max-width: none; }
.shotbox__zoom { display: inline-flex; align-items: center; gap: 10px; }
.shotbox__nav .shotbox__zoom button { width: 44px; padding: 0; font-size: 22px; line-height: 1; }
.shotbox__nav button:disabled { opacity: .4; }
@media (max-width: 760px) {
  .res__rail { margin-inline: 0; padding: 0; }
  .res__rail button, .res__rail button:hover { aspect-ratio: 4 / 3; }
  .res__nav { gap: 10px; }
  .res__nav button { padding: 10px 16px; }
  .shotbox__nav { padding: 8px 8px; gap: 6px; }
  .shotbox__nav button { padding: 8px 12px; }
}
/* each picture sits whole inside its slide, whatever its shape */
.res__rail button, .res__rail button:hover { position: relative; display: block; width: 100%; height: auto; overflow: hidden; }
.res__rail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Dec 5, last version: a circular gallery. The middle picture floats in front; the one before and the one after
   show at the sides. Set up by main.js, which adds .cf and a data-pos to each slide. */
.res__rail.cf { position: relative; display: block; max-width: none; margin: 26px calc(-1 * var(--gutter)) 0; padding: 0; aspect-ratio: 100 / 44; border-radius: 0; background: none; box-shadow: none; overflow-x: clip; overflow-y: visible; scroll-snap-type: none; touch-action: pan-y; user-select: none; }
.res__rail.cf li, .res__rail.cf li:nth-child(even), .res__rail.cf li:nth-child(odd) { position: absolute; top: 4%; left: 50%; width: 58%; margin: 0 0 0 -29%; flex: none; transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s var(--ease); will-change: transform; }
.res__rail.cf button, .res__rail.cf button:hover { aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--accent-soft); box-shadow: 0 2px 4px rgba(11, 31, 58, .06), 0 38px 54px -26px rgba(11, 31, 58, .42); cursor: pointer; }
.res__rail.cf img { -webkit-user-drag: none; pointer-events: none; }
.res__rail.cf li[data-pos="mid"] { z-index: 3; transform: none; }
.res__rail.cf li[data-pos="mid"] button { cursor: zoom-in; }
.res__rail.cf li[data-pos="next"] { z-index: 2; transform: translateX(64%) scale(.74); opacity: .5; }
.res__rail.cf li[data-pos="prev"] { z-index: 2; transform: translateX(-64%) scale(.74); opacity: .5; }
.res__rail.cf li[data-pos="far-next"] { z-index: 1; transform: translateX(110%) scale(.56); opacity: 0; pointer-events: none; }
.res__rail.cf li[data-pos="far-prev"] { z-index: 1; transform: translateX(-110%) scale(.56); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .res__rail.cf li[data-pos="mid"] button { animation: drift 5.5s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) { .res__rail.cf li { transition: none; } }
@media (max-width: 760px) {
  .res__rail.cf { aspect-ratio: 100 / 66; margin-top: 18px; }
  .res__rail.cf li, .res__rail.cf li:nth-child(even), .res__rail.cf li:nth-child(odd) { width: 78%; margin-left: -39%; }
  .res__rail.cf button, .res__rail.cf button:hover { aspect-ratio: 4 / 3; }
  .res__rail.cf li[data-pos="next"] { transform: translateX(58%) scale(.8); }
  .res__rail.cf li[data-pos="prev"] { transform: translateX(-58%) scale(.8); }
}

/* Dec 5: quiz questions that take more than one answer, and the approval box on the contact screen. */
.quiz__hint { margin: -6px 0 16px; font-size: 15.5px; color: var(--body); }
.quiz__opts--multi .quiz__opt svg { display: none; }
.quiz__opts--multi .quiz__opt::after { content: ""; flex: none; width: 24px; height: 24px; margin-left: 14px; border: 2px solid var(--accent-line); border-radius: 6px; background: var(--card); }
.quiz__opts--multi .quiz__opt.is-picked::after { border-color: var(--card); background: var(--card) center / 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%231f4e96' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.quiz__next { margin-top: 16px; }
.quiz__next:disabled { opacity: .45; cursor: default; box-shadow: none; }
.qf__ok { display: grid; grid-template-columns: 26px 1fr; gap: 4px 12px; margin: 4px 0 18px; }
.qf__ok input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--accent); }
.qf__ok label { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.qf__ok .qf__err { grid-column: 2; margin-top: 2px; }

/* Dec 5: the long specialty list sits in two short columns, and the box to type in opens under the answers. */
.quiz__opts--tight { grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz__opts--tight .quiz__opt { padding: 12px 12px 12px 14px; font-size: 15px; line-height: 1.25; }
.quiz__opts--tight.quiz__opts--multi .quiz__opt::after { width: 20px; height: 20px; margin-left: 8px; background-size: 13px; }
.quiz__other { margin: 16px 0 0; }

/* Dec 5: the social links are the platforms' logos. */
.foot__social { align-items: center; gap: 10px 12px; }
.foot__social span { margin-right: 8px; }
.foot__social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.foot__social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.foot__social svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .foot__social span { flex: 0 0 100%; margin: 0 0 4px; } }

/* Dec 5: the five-row facts table became one short list of what we do. */
#doctor .does { display: block; padding: 26px 28px 14px; }
.does__t { font-family: var(--font); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--accent); }
.does ul { margin-top: 10px; list-style: none; padding: 0; }
#doctor .does li { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--head); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
#doctor .does li:last-child { border-bottom: 0; }
@media (max-width: 760px) {
  #doctor .does { padding: 20px var(--ps-inset, 18px) 8px; }
  .does__t { color: var(--sky); }
  #doctor .does li { padding: 13px 0; border-color: var(--dark-line); font-size: 19px; color: var(--white); }
}

/* Dec 5: the proof section. One centred header, the gallery, then a navy card with the ask. */
#doctor .feature { grid-template-columns: 1fr; gap: 0; }
#doctor .feature__copy { order: 0; max-width: 760px; margin-inline: auto; text-align: center; }
#doctor .res { order: 1; margin-top: 8px; padding-top: 0; border-top: 0; }
#doctor .tint { order: 2; margin: 44px auto 0; padding: 0; border: 0; background: none; width: min(100%, 720px); }
#doctor .does { display: block; padding: 34px 36px; border: 0; border-radius: var(--r-lg); background: var(--band); text-align: center; }
.does__t { font-family: var(--head); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--white); }
.does__s { margin: 8px 0 22px; font-size: 17px; color: var(--sky); }
@media (max-width: 760px) {
  #doctor .does { padding: 26px 20px; }
  .does__t { font-size: 22px; color: var(--white); }
  #doctor .res { margin-top: var(--ps-block, 28px); padding-top: 0; }
}

/* Dec 5: every quiz question fits one phone screen with nothing wrapped. The "something else" answer is a box in
   the list that they type straight into, and Back sits beside Continue. */
.quiz__count span { margin-left: 10px; font-weight: 500; color: var(--body); }
.quiz__opt--type { cursor: text; font-weight: 600; color: var(--ink); min-width: 0; }
.quiz__opt--type::placeholder { color: var(--body); font-weight: 500; opacity: 1; }
.quiz__opt--type:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz__opt--type:not(:placeholder-shown) { border-color: var(--accent); background: var(--accent-soft); }
.quiz__opt--type[aria-invalid="true"] { border-color: var(--warn); }
.quiz__opt { white-space: nowrap; }
.quiz__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.quiz__foot .quiz__back { margin-top: 0; }
.quiz__foot .quiz__next { margin: 0 0 0 auto; }
@media (max-width: 760px) {
  .quiz.is-open { padding-bottom: 12px; }
  .quiz__top { height: 56px; }
  .quiz__bar { margin-bottom: 18px; }
  .quiz__step--q .quiz__count { margin-bottom: 6px; font-size: 13.5px; }
  .quiz__step--q .quiz__q { margin-bottom: 14px; font-size: 25px; line-height: 1.12; }
  .quiz__step--q .quiz__opts { gap: 7px; }
  .quiz__step--q .quiz__opt { padding: 11px 14px; font-size: 16px; }
  .quiz__opts--multi .quiz__opt::after { width: 20px; height: 20px; background-size: 13px; }
  .quiz__opts--tight { gap: 6px; }
  .quiz__step--q .quiz__opts--tight .quiz__opt { padding: 9px 8px 9px 11px; font-size: 14.5px; letter-spacing: -0.01em; }
  .quiz__step--q .quiz__opts--tight .quiz__opt--type { font-size: 16px; padding-block: 7px; }
  .quiz__opts--tight.quiz__opts--multi .quiz__opt::after { width: 17px; height: 17px; margin-left: 4px; background-size: 11px; }
  .quiz__foot { margin-top: 12px; }
  .quiz .quiz__foot .btn--lg { padding: 12px 22px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .quiz__top { height: 48px; }
  .quiz__bar { margin-bottom: 12px; }
  .quiz__step--q .quiz__q { margin-bottom: 10px; font-size: 22px; }
  .quiz__step--q .quiz__opts--tight .quiz__opt { padding-block: 7px; }
  .quiz__step--q .quiz__opts--tight .quiz__opt--type { padding-block: 5px; }
  .quiz__opts--tight { gap: 5px; }
}
.quiz__opt--type { font-family: inherit; }
.quiz .quiz__opt.is-picked, .quiz .quiz__opt.is-picked:hover, .quiz .quiz__opt.is-picked:focus, .quiz .quiz__opt.is-picked:active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.quiz .quiz__opt { transition: border-color .15s; } /* the fill switches at once, so a tapped answer never looks half picked */

/* Dec 5: the footer is one centred column: logo, social logos, phone, then the small links. */
.foot { text-align: center; }
.foot .foot__in { justify-content: center; }
.foot .foot__social { flex-direction: row; justify-content: center; margin-top: 22px; padding-top: 0; border-top: 0; }
.foot .foot__social span { flex: 0 0 100%; margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--body); }
.foot .foot__links { justify-content: center; align-items: baseline; gap: 6px 26px; margin-top: 24px; }
.foot .foot__links a { margin: 0; text-decoration: none; font-weight: 500; color: var(--body); }
.foot .foot__links a:hover { color: var(--accent); }
.foot .foot__links .foot__tel { flex: 0 0 100%; justify-content: center; font-family: var(--head); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.foot .foot__base { justify-content: center; }
/* "What we'll ask you" reads centred */
.wants { text-align: center; }
@media (max-width: 760px) {
  /* the numbers card crosses the line into the navy section, like the other cards on the page */
  #doctor .tint { margin: var(--ps-block, 28px) 0 -64px; width: 100%; }
  #doctor .does { border: 1px solid var(--dark-line); background: var(--accent); box-shadow: var(--bridge-shadow); }
  .does__s { color: var(--white); opacity: .86; }
}

/* Dec 5: "What we go through with you". Each line is a topic and, under it, what we look at. */
.wants__deep li { padding: 14px 0; }
.wants__deep b { display: block; font-family: var(--head); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--white); }
.wants__deep span { display: block; margin-top: 4px; font-family: var(--font); font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: 0; color: var(--on-dark); }
@media (max-width: 760px) {
  .wants__deep li { padding: 11px 0; }
  .wants__deep b { font-size: 17.5px; }
  .wants__deep span { font-size: 14.5px; }
}

/* Dec 5: paragraphs read in a serif so they stop looking like the headings and buttons. */
@font-face { font-family: 'Read'; src: url('assets/fonts/source-serif-4-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Read'; src: url('assets/fonts/source-serif-4-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Read'; src: url('assets/fonts/source-serif-4-700.woff2') format('woff2'); font-weight: 700 800; font-style: normal; font-display: swap; }
:root { --serif: 'Read', Georgia, 'Times New Roman', serif; }
.lede, .hero__sub, .steps li > p, .faq details p, .does__s, .res__note, .wants__deep span { font-family: var(--serif); letter-spacing: 0; }
.lede b, .hero__sub b { font-weight: 700; }
.wont li { font-family: var(--font); }
.frame__bar { font-family: var(--font); }

/* The phone number is a button you can tap. */
.foot .foot__links .foot__tel { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 14px; margin: 0 100% 10px; padding: 12px 28px 12px 14px; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--card); box-shadow: 0 1px 2px rgba(11, 31, 58, .05), 0 14px 26px -16px rgba(11, 31, 58, .3); color: var(--ink); white-space: nowrap; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.foot .foot__links .foot__tel:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.foot__tel svg { flex: none; box-sizing: content-box; width: 20px; height: 20px; padding: 12px; border-radius: 50%; background: var(--accent); color: var(--white); }
.foot__tel span { display: grid; text-align: left; line-height: 1.1; font-size: 24px; font-variant-numeric: tabular-nums; }
.foot__tel small { margin-bottom: 3px; font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent); }
.foot .foot__links { flex-wrap: wrap; }

/* Dec 5: the sales video sits under the headline, where the quiz card was, with a Book now button. */
.hero .frame { width: 100%; margin: 0; }
.hero .vid { background: var(--stage-up); }
.frame__cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 12px 10px 16px; }
.frame__cta p { font-family: var(--serif); font-size: 16.5px; line-height: 1.4; color: var(--white); }
.frame__cta .btn { flex: none; }
@media (max-width: 760px) {
  .hero { position: relative; z-index: 8; padding-bottom: 0; }
  .hero .hero__in { margin-bottom: 0; }
  .hero .frame { grid-column: 1 / -1; grid-row: auto; order: 5; margin: 28px 0 -84px; padding: 10px; background: color-mix(in srgb, var(--band) 80%, var(--dark)); box-shadow: var(--bridge-shadow); }
  .hero .vid__btn { width: 76px; height: 76px; }
  .hero .vid__btn svg { width: 24px; height: 24px; }
  .frame__cta { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 4px 4px; text-align: center; }
  .frame__cta .btn { justify-content: center; }
  #why { background: var(--band); }
}

/* Dec 5: on the laptop too, the headline sits on top and the video under it (no side by side). */
@media (min-width: 761px) {
  .hero .hero__in { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; }
  .hero .hero__copy { max-width: 920px; text-align: center; }
  .hero .hero__sub { margin-inline: auto; }
  .hero .hero__cta { display: none; }
  .hero .ticks { justify-content: center; margin-top: 24px; }
  .hero .hero__visual { width: min(100%, 900px); margin: 44px 0 0; }
  .hero .frame__cta { padding: 18px 14px 12px 22px; }
  .hero .frame__cta p { font-size: 19px; }
}

/* the "What we ask" list keeps its original sans type */
.wants li { font-family: var(--font); }

/* Dec 5: the video sits on a white card, so it stands apart from the navy headline and the blue section under it. */
.hero .frame { background: var(--card); border-color: var(--white); box-shadow: 0 30px 60px -30px rgba(4, 10, 26, .7); }
.hero .frame__cta p { color: var(--ink); }
.hero .frame__cta .btn { background: var(--accent); border-color: var(--accent); color: var(--white); }
.hero .frame__cta .btn:hover { background: var(--accent-up); }
.hero .frame :focus-visible { outline-color: var(--accent); }
@media (max-width: 760px) {
  .hero .ticks { margin-top: 26px; }
  .hero .frame { margin: 40px 0 -84px; padding: 8px 8px 12px; background: var(--card); }
  .hero .vid { aspect-ratio: 4 / 3; }
  .frame__cta { gap: 16px; padding: 20px 10px 6px; }
  .frame__cta p { font-size: 18px; }
  #why { padding-top: calc(84px + 72px); }
}

/* Dec 5: steps are titles only now */
.steps h3 { margin-bottom: 0; }

/* Dec 5: steps are titles only, so on the phone each title lines up with its number and one line joins the numbers. */
@media (max-width: 760px) {
  .steps { width: fit-content; margin-inline: auto; }
  .steps li { grid-template-rows: auto; align-items: center; column-gap: 16px; padding-bottom: 28px; }
  .steps__n { grid-row: 1; }
  .steps__n::after { top: 38px; bottom: -24px; }
  .steps h3 { margin: 0; font-size: calc(var(--ph-u) * 19); }
}
