/* 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;
  --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)); }
}
