/* eXeX website: the one stylesheet, for all four pages.

   Sections are labelled. "hero", "the problem", "canopus", "platform", "insights", "evidence", "outcomes" and "trust"
   are the homepage's; "about: ...", "contact: ..." and "privacy: ..." belong to those pages; everything else is shared.
   The phone rules come last ("phones: ...", "about: phones", ...), so that they have the final word.
   README.md explains the type scale, the motion attributes and the phone layout. */

/* ---------- font ---------- */
/* Albert Sans, variable weight, self-hosted (assets/fonts, SIL Open Font License). Two files: Latin, and extended Latin
   which only loads if a page uses those letters. */
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/albert-sans-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/albert-sans-latin-wght-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Layout: a 12-column grid on open white. Type is left-aligned and sits on hairlines and space;
   only photography gets a frame. One solid color block, at the close. */
:root {
  color-scheme: light;
  --paper: #ffffff; /* page */
  --mist: #f3f5fb; /* quiet surface */
  --ink: #070b2a; /* headlines, the blue-black of the photography */
  --body: #474f6c; /* running text */
  --quiet: #666e8a; /* citations and sources */
  --line: #dfe3ed; /* hairlines */
  --line-strong: #c5cbda;
  --accent: #2145e6; /* the one color: drape blue, lifted from the OR photography */
  --photo: #0b1466; /* held behind photographs while they load */

  --display:
    "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; /* headlines: semibold, open tracking */
  --text:
    "Albert Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; /* running text: regular */

  --gutter: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --col-gap: clamp(16px, 2vw, 24px);
  --nav-h: 76px;
  --radius: clamp(14px, 1.7vw, 24px);
  --section: clamp(96px, 12.5vw, 200px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
strong {
  font-weight: 600;
  color: var(--ink);
}
::selection {
  background: var(--accent);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
section[id] {
  scroll-margin-top: calc(var(--nav-h) - 1px);
}

/* ---------- type ---------- */
.d1,
.d2,
.d3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
}
.d1 {
  font-size: clamp(2.625rem, 6.5vw, 6.125rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.d2 {
  font-size: clamp(2.125rem, 4.4vw, 4.125rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.d3 {
  font-size: clamp(1.3125rem, 1.8vw, 1.6875rem);
  line-height: 1.18;
  letter-spacing: -0.012em;
}
.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--body);
  text-wrap: balance;
}
.copy {
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
  color: var(--body);
  text-wrap: pretty;
}
.note {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--quiet);
  text-wrap: pretty;
}
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line);
}
.nb {
  white-space: nowrap;
}
.cite {
  display: inline-block;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition:
    color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: translateY(102%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: none;
}
.btn:active {
  transform: scale(0.975);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary::before {
  background: var(--ink);
}
.btn--ghost {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn--ghost::before {
  background: var(--ink);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light::before {
  background: var(--ink);
}
.btn--light:hover,
.btn--light:focus-visible {
  color: #fff;
}
.btn--outline {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.btn--outline::before {
  background: #fff;
}
.btn--outline:hover,
.btn--outline:focus-visible {
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #fff;
}
.btn--sm {
  height: 44px;
  padding: 0 22px;
  font-size: 0.9375rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 480px) {
  .actions .btn {
    flex: 1 1 0;
    padding-inline: 12px;
  }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: 0 1px 0 rgba(7, 11, 42, 0.07);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.nav.is-scrolled::before {
  opacity: 1;
}
.menu-open .nav::before {
  opacity: 0;
}
.nav__in {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo {
  margin-right: auto;
  color: var(--ink);
}
.nav__logo svg {
  height: 24px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: clamp(20px, 2.6vw, 38px);
  transform: translateX(calc(var(--cta-w, 170px) + 36px));
  transition: transform 0.9s var(--ease);
}
.nav__links a {
  position: relative;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--body);
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a[aria-current] {
  color: var(--ink);
}
.nav__links a:hover::after,
.nav__links a[aria-current]::after {
  transform: scaleX(1);
}
.nav__cta {
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.6s var(--ease),
    visibility 0s 0.4s;
}
.nav.has-cta .nav__links {
  transform: none;
}
.nav.has-cta .nav__cta {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.7s var(--ease) 0.12s,
    transform 0.9s var(--ease) 0.08s,
    color 0.45s var(--ease),
    visibility 0s;
}
.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition:
    transform 0.6s var(--ease),
    top 0.6s var(--ease);
}
.nav__toggle span:nth-child(1) {
  top: 17px;
}
.nav__toggle span:nth-child(2) {
  top: 26px;
}
.menu-open .nav__toggle span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-open .nav__toggle span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: var(--paper);
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) max(var(--gutter), env(safe-area-inset-right, 0px))
    calc(28px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition:
    clip-path 0.8s var(--ease),
    visibility 0s 0.8s;
}
.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition:
    clip-path 0.8s var(--ease),
    visibility 0s;
}
.menu__links {
  display: flex;
  flex-direction: column;
}
.menu__links a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.75rem, 7.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.menu-open .menu__links a {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s var(--ease) calc(var(--i) * 55ms + 0.18s),
    transform 0.9s var(--ease) calc(var(--i) * 55ms + 0.18s);
}
.menu .btn {
  width: 100%;
}

@media (max-width: 960px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .menu {
    display: flex;
  }
}

/* ---------- hero ---------- */
/* The photograph is a window holding the opening message. Over the first stretch of scrolling it stays put and
   opens to the full width (--p runs 0 to 1 across --pin); after that it leaves with the page. */
.hero {
  --vh: 100vh;
  --top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  --hero-m: clamp(16px, 2.4vw, 36px);
  --pin: 0px;
  --hero-h: max(540px, min(calc(var(--vh) - var(--top)), 80vw));
  position: relative;
  padding-top: var(--top);
  height: calc(var(--top) + var(--hero-h) + var(--pin));
}
@supports (height: 1svh) {
  .hero {
    --vh: 100svh;
  }
}
.js .hero {
  --pin: calc(var(--vh) * 0.34);
}
.hero__media {
  position: sticky;
  top: var(--top);
  height: var(--hero-h);
}
.hero__clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--photo);
  --g0: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  clip-path: inset(
    0 calc(var(--g, var(--g0)) * (1 - var(--p, 0))) calc(var(--hero-m) * (1 - var(--p, 0))) round
      calc(var(--radius) * (1 - var(--p, 0)))
  );
}
.hero__par {
  position: absolute;
  inset: -6% 0;
  transform: translate3d(0, calc(var(--t, 0) * -4%), 0) scale(calc(1.1 - var(--p, 0) * 0.07));
  transform-origin: 60% 40%;
  will-change: transform;
}
.hero__par img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 58%;
}
/* Depth: the room and the figure (nurse, tray) as separate layers. At rest they reproduce the flat photograph exactly and
   take over from it once both have arrived. As the window opens the room pulls back a little further than the figure,
   and the figure leans a few pixels against the room as the pointer crosses the photograph (--mx, --my). */
.hero__depth {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s linear;
}
.hero__depth.is-on {
  opacity: 1;
}
.hero__room,
.hero__figure {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero__room {
  transform: translate3d(calc(var(--mx, 0) * -0.22%), calc(var(--my, 0) * -0.16%), 0);
}
.hero__figure {
  transform-origin: 50% 75%;
  transform: translate3d(calc(var(--mx, 0) * -0.62%), calc(var(--my, 0) * -0.44%), 0)
    scale(calc(1 + var(--p, 0) * 0.02));
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 13, 78, 0.86) 0%,
      rgba(9, 13, 78, 0.7) 26%,
      rgba(9, 13, 78, 0.3) 48%,
      rgba(9, 13, 78, 0) 64%
    ),
    linear-gradient(0deg, rgba(9, 13, 78, 0.5) 0%, rgba(9, 13, 78, 0) 38%);
}
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero__text {
  max-width: min(40rem, 54%);
  padding: 0 0 calc(var(--hero-m) + clamp(32px, 4.2vw, 60px)) clamp(28px, 3.8vw, 56px);
  color: #fff;
  pointer-events: auto;
}
.hero__title {
  font-size: clamp(2.5rem, 5.3vw, 4.875rem);
}
.hero .lead {
  margin-top: clamp(20px, 2.2vw, 30px);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 31em;
}
.hero .actions {
  margin-top: clamp(24px, 2.8vw, 40px);
}
.hero :focus-visible {
  outline-color: #fff;
}
@media (max-width: 960px) {
  .hero {
    --hero-h: max(620px, min(calc(var(--vh) - var(--top)), 86vw));
  }
  .hero__text {
    max-width: min(40rem, 66%);
  }
}
@media (max-width: 720px) {
  /* phones: the photograph runs edge to edge and the message sits over its lower half */
  .hero,
  .js .hero {
    --pin: 0px;
    --hero-h: max(580px, calc(var(--vh) - var(--top)));
  }
  .hero__clip {
    clip-path: none;
  }
  .hero__par img {
    object-position: 78% 30%;
  }
  .hero__scrim {
    background: linear-gradient(
      0deg,
      rgba(9, 13, 78, 0.94) 0%,
      rgba(9, 13, 78, 0.82) 40%,
      rgba(9, 13, 78, 0.3) 64%,
      rgba(9, 13, 78, 0) 80%
    );
  }
  .hero__text {
    max-width: none;
    padding: 0 0 clamp(28px, 7vw, 40px);
  }
}

/* ---------- shared section pieces ---------- */
.section {
  padding-top: var(--section);
}
.head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 24px;
  align-items: end;
  margin-bottom: clamp(48px, 6.4vw, 104px);
}
.head > .d2 {
  grid-column: 1 / span 7;
}
.head > .lead {
  grid-column: 9 / span 4;
  padding-bottom: 0.35rem;
}
@media (max-width: 960px) {
  .head > .d2,
  .head > .lead {
    grid-column: 1 / -1;
  }
  .head > .lead {
    max-width: 34em;
  }
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--photo);
}
.frame__par {
  position: absolute;
  inset: -7% 0;
  transform: translate3d(0, calc(var(--t, 0) * -6%), 0);
}
.frame__par img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.row__body {
  padding-block: clamp(26px, 2.9vw, 40px);
}
.rows .d3 {
  margin-bottom: 12px;
}
.rows .copy {
  max-width: 31em;
}

/* ---------- the problem ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
}
.problem__head {
  grid-column: 1 / span 6;
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 56px);
}
.problem__list {
  grid-column: 8 / span 5;
}
.problem__note {
  margin-top: clamp(28px, 3vw, 40px);
}
@media (max-width: 960px) {
  .problem__head,
  .problem__list {
    grid-column: 1 / -1;
  }
  .problem__head {
    position: static;
  }
}

/* ---------- canopus ---------- */
.canopus__stage {
  position: relative;
}
.canopus__photo {
  width: 100%;
  aspect-ratio: 1312 / 780;
  min-height: 600px;
}
.canopus__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 48, 0.5) 0%, rgba(6, 11, 48, 0) 46%);
}
.canopus__photo img {
  object-position: 50% 100%;
}
.canopus__intro {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4.2vw, 60px);
  color: #fff;
}
.canopus__foot {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  max-width: min(23em, 27.5vw);
}
.lockup {
  width: clamp(190px, 19vw, 270px);
  height: auto;
  overflow: visible;
}
.lockup__star {
  transform-box: fill-box;
  transform-origin: 58.9% 52.6%;
}
.canopus__foot p {
  color: rgba(255, 255, 255, 0.86);
}
@media (min-width: 1181px) {
  .canopus__foot .keep {
    white-space: nowrap;
  }
}
@media (max-width: 1180px) {
  .canopus__foot {
    max-width: 26vw;
  }
  .canopus__foot p {
    font-size: 1rem;
  }
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(24px, 3.4vw, 56px);
  margin-top: clamp(40px, 5vw, 72px);
}
.feature .d3 {
  margin: clamp(22px, 2.2vw, 30px) 0 12px;
}
.feature .copy {
  max-width: 27em;
}
@media (max-width: 960px) {
  .canopus__stage {
    display: flex;
    flex-direction: column-reverse;
    gap: clamp(32px, 5vw, 48px);
  }
  .canopus__photo {
    aspect-ratio: 6 / 7;
    min-height: 0;
    max-height: 82svh;
    width: 100%;
  }
  .canopus__photo::after {
    display: none;
  }
  .canopus__photo img {
    object-position: 74% 100%;
  }
  .canopus__intro {
    position: static;
    padding: 0;
    color: var(--ink);
    gap: 28px;
  }
  .canopus__foot {
    max-width: 34em;
  }
  .canopus__foot p {
    color: var(--body);
  }
  .lockup__star {
    color: var(--accent);
  }
  .features {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .feature {
    padding-bottom: 28px;
  }
}
@media (max-width: 960px) and (orientation: landscape) {
  .canopus__photo img {
    object-position: 74% 58%;
  }
}

/* ---------- platform ---------- */
/* The four modules side by side, so the whole platform reads in one look. */
.platform .head {
  margin-bottom: clamp(40px, 4.6vw, 68px);
}
.mods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(48px, 6vw, 72px);
}
.mod {
  display: flex;
  flex-direction: column;
}
.mod__img {
  aspect-ratio: 4 / 3;
  background: #12151c;
  margin-bottom: clamp(20px, 2vw, 28px);
}
.mod__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.js .mod__img.in img {
  transition: transform 1.4s var(--ease);
}
.mod__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mod__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}
.mod .copy {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
}
.mod__for {
  margin-top: auto;
  padding-top: clamp(14px, 1.4vw, 20px);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .mod:hover .mod__img.in img {
    transform: scale(1.04);
  }
}
@media (max-width: 1270px) {
  .mod__for {
    min-height: calc(clamp(14px, 1.4vw, 20px) + 3.1em);
  }
} /* room for two lines, so all four start level */
@media (max-width: 960px) {
  .mods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mod__for {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .mods {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- insights ---------- */
.insights__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 40px;
  align-items: start;
}
/* the frame takes the photograph's own 4:3 shape and holds its right edge, so the clinician is always whole */
.insights__photo {
  grid-column: 1 / span 7;
  aspect-ratio: 4 / 3;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.insights__photo .frame__par {
  inset: -4% 0;
  transform: translate3d(0, calc(var(--t, 0) * -3%), 0);
}
.insights__photo img {
  object-position: 100% 50%;
}
.insights__body {
  grid-column: 9 / span 4;
}
.insights__body .lead {
  margin-top: clamp(20px, 2.2vw, 32px);
}
.insights__body .rows {
  margin-top: clamp(36px, 4.6vw, 72px);
}
.insights__body .row__body {
  padding-block: clamp(20px, 2vw, 28px);
}
.insights__body li:last-child .row__body {
  padding-bottom: 0;
}
@media (max-width: 1180px) {
  .insights__photo {
    grid-column: 1 / span 6;
  }
  .insights__body {
    grid-column: 8 / span 5;
  }
}
@media (max-width: 960px) {
  .insights__photo,
  .insights__body {
    grid-column: 1 / -1;
  }
  .insights__photo {
    aspect-ratio: 4 / 3;
    position: relative;
    top: auto;
  }
}

/* ---------- evidence ---------- */
/* Five figures on one line, grouped by the kind of study each comes from; the study is named at the foot of its group. */
.evidence .head {
  margin-bottom: clamp(40px, 5vw, 76px);
}
.evg {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  column-gap: clamp(24px, 3.4vw, 56px);
  row-gap: clamp(40px, 5vw, 56px);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.evg__group {
  display: flex;
  flex-direction: column;
}
.evg__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--col-gap);
  row-gap: 40px;
  padding-top: clamp(28px, 3vw, 44px);
}
.evg__src {
  margin-top: auto;
  padding-top: clamp(20px, 2.2vw, 30px);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--quiet);
}
.evg__group--two .evg__items {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.evg__num {
  margin-bottom: clamp(16px, 1.8vw, 26px);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(3.25rem, 5.4vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  white-space: nowrap;
}
.evg__unit {
  font-size: 0.46em;
  letter-spacing: 0;
  margin-left: 0.08em;
}
.evg__title {
  margin-bottom: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
  line-height: 1.25;
  letter-spacing: -0.008em;
  min-height: 2.5em;
}
.evg__qual {
  display: block;
  color: var(--quiet);
  font-weight: 500;
}
.evg__item .copy {
  font-size: 1rem;
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 961px) {
    /* the three groups share their lines, so the study names start level even when one of them wraps */
    .evg {
      row-gap: 0;
    }
    .evg__group {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 3;
    }
    .evg__src {
      margin-top: 0;
      align-self: start;
    }
  }
}
@media (max-width: 1240px) {
  /* small laptops: still one line of five, drawn tighter */
  .evg {
    column-gap: clamp(20px, 2.6vw, 32px);
  }
  .evg__title {
    min-height: 3.75em;
  }
}
@media (max-width: 960px) {
  .evg {
    grid-template-columns: minmax(0, 1fr);
  }
  .evg__title {
    min-height: 0;
  }
}
@media (max-width: 560px) {
  .evg__group--two .evg__items {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- outcomes ---------- */
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 48px;
  align-items: center;
}
.outcomes__list {
  grid-column: 1 / span 5;
}
.chart {
  grid-column: 7 / span 6;
  background: var(--mist);
  border-radius: var(--radius);
  padding: clamp(22px, 3.4vw, 52px);
}
.chart__plot {
  --lg: clamp(34px, 3.4vw, 46px);
  position: relative;
  padding: 0 0 var(--lg) var(--lg);
}
.chart__area {
  position: relative;
}
.chart__area > svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.chart__axis {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.chart__dot {
  transform-box: fill-box;
  transform-origin: center;
}
.chart__dot--a {
  fill: var(--accent);
}
.chart__dot--b {
  fill: #b4bccf;
}
.chart__label {
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.chart__label--y {
  left: 0.55em;
  top: calc((100% - var(--lg)) / 2);
  transform: translate(-50%, -50%) rotate(-90deg);
}
.chart__label--x {
  bottom: -0.25em;
  left: calc(var(--lg) + (100% - var(--lg)) / 2);
  transform: translateX(-50%);
}
.chart__tag {
  position: absolute;
  transform: translate(-50%, -100%);
  font-size: 1rem;
  font-weight: 500;
  color: var(--quiet);
  white-space: nowrap;
}
.chart__tag svg {
  width: clamp(96px, 10vw, 148px);
  height: auto;
  color: var(--ink);
}
.chart__tag .lockup__star {
  color: var(--accent);
}
@media (max-width: 960px) {
  .outcomes__list,
  .chart {
    grid-column: 1 / -1;
  }
  .chart {
    order: -1;
  }
}

/* ---------- trust ---------- */
.trust {
  margin-top: var(--section);
  padding-block: clamp(88px, 10.5vw, 168px);
  background: var(--mist);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 104px);
  row-gap: 56px;
}
.tp .d3 {
  margin: clamp(24px, 2.4vw, 34px) 0 14px;
}
.tp .copy {
  max-width: 32em;
}
.trust .rule {
  background: var(--line-strong);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(24px, 2.6vw, 36px);
}
.chip {
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.9375rem;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.chip:hover {
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.tp__def {
  margin-top: clamp(20px, 2vw, 28px);
  min-height: 4.7em;
  max-width: 31em;
  color: var(--ink);
  text-wrap: pretty;
}
@media (max-width: 860px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
  .tp__def {
    min-height: 6.3em;
  }
}

/* ---------- demo ---------- */
.demo {
  padding-top: clamp(20px, 4.4vw, 64px);
}
.demo__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(480px, 48vw, 700px);
  padding: clamp(32px, 6.4vw, 96px);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
}
.demo__star {
  --sw: clamp(520px, 62vw, 920px);
  position: absolute;
  z-index: -1;
  left: calc(90% - 0.589 * var(--sw));
  top: calc(24% - 0.325 * var(--sw));
  width: var(--sw);
  color: #fff;
  opacity: 0.18;
  transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0) rotate(calc(var(--t, 0) * 7deg))
    scale(calc(1 - var(--t, 0) * 0.06));
  transform-origin: 58.9% 52.6%;
  transition: transform 1.2s var(--ease);
}
.demo__star svg {
  width: 100%;
  height: auto;
}
.demo__title {
  font-size: clamp(2.5rem, 6vw, 5.75rem);
  max-width: 10.5em;
}
.demo .lead {
  margin-top: clamp(18px, 2vw, 28px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 26em;
}
.demo .actions {
  margin-top: clamp(28px, 3.2vw, 48px);
}
.demo :focus-visible {
  outline-color: #fff;
}

/* ---------- footer ---------- */
.footer {
  padding-block: clamp(64px, 8vw, 120px) calc(32px + env(safe-area-inset-bottom, 0px));
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 44px;
}
.footer__logo {
  grid-column: 1 / span 6;
  justify-self: start;
  color: var(--ink);
}
.footer__logo svg {
  height: 34px;
  width: auto;
}
.footer__col {
  grid-column: span 2;
}
.footer__col ul {
  display: grid;
  row-gap: 10px;
}
.footer__col a {
  color: var(--body);
  transition: color 0.3s;
}
.footer__col a:hover {
  color: var(--ink);
}
.footer__base {
  margin-top: clamp(48px, 6vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width: 860px) {
  .footer__logo {
    grid-column: 1 / -1;
  }
  .footer__col {
    grid-column: span 4;
  }
}
@media (max-width: 520px) {
  .footer__col {
    grid-column: span 6;
  }
}

/* ---------- cookie notice ---------- */
/* The cookie notice carried over from the previous site, set as the nav's counterpart: a frosted bar along the bottom, there until it is answered. */
.cookies {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  backdrop-filter: saturate(1.6) blur(20px);
  box-shadow: 0 -1px 0 rgba(7, 11, 42, 0.08);
  transform: translateY(105%);
  visibility: hidden;
  transition:
    transform 0.8s var(--ease),
    visibility 0s 0.8s;
}
.cookies.is-in {
  transform: none;
  visibility: visible;
  transition:
    transform 1s var(--ease),
    visibility 0s;
}
.cookies[hidden] {
  display: none;
}
body {
  padding-bottom: var(--notice-h, 0px);
} /* while the notice is up the page is that much longer, so its last lines can still be scrolled clear of it */
.cookies__in {
  display: flex;
  align-items: center;
  gap: 14px 40px;
  padding-block: 14px;
}
.cookies__text {
  flex: 1;
  font-size: max(15px, 0.9375rem);
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}
.cookies__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.cookies__text a:hover {
  color: var(--accent);
}
.cookies__actions {
  flex: none;
  display: flex;
  gap: 10px;
}
@media (max-width: 720px) {
  .cookies__in {
    flex-direction: column;
    align-items: stretch;
    padding-block: 16px 14px;
  }
  .cookies__actions .btn {
    flex: 1 1 0;
  }
}

/* ---------- about: intro ---------- */
/* The page opens on type alone: the statement, a hairline, and the founding line set to the right. */
.intro {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8.6vw, 132px));
}
.intro__title {
  max-width: 11.6em;
}
.ib {
  display: inline-block;
}
.intro__foot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  margin-top: clamp(40px, 5.6vw, 88px);
  padding-top: clamp(22px, 2.4vw, 34px);
}
.intro__foot .rule {
  position: absolute;
  inset: 0 0 auto 0;
}
.intro__foot .lead {
  grid-column: 7 / span 6;
  max-width: 33em;
}
@media (max-width: 960px) {
  .intro__foot .lead {
    grid-column: 1 / -1;
  }
}

/* ---------- about: team ---------- */
/* Four people to a row under the heading, each on a hairline, portraits at the size the previous site used. */
.team {
  padding-top: clamp(56px, 6.6vw, 104px);
}
.team .head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.team {
  --row-gap: clamp(40px, 4.6vw, 72px);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: var(--row-gap);
}
.team__set {
  display: contents;
} /* a set is one phone screen of four people; everywhere else the people sit in the one grid */
.person {
  display: flex;
  flex-direction: column;
}
.person > .rule {
  margin-bottom: clamp(20px, 2.2vw, 28px);
}
.person__photo {
  --radius: 14px;
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--mist);
  margin-bottom: clamp(16px, 1.6vw, 22px);
  cursor: pointer;
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}
.js .person__photo.in img {
  transition: transform 1.4s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .person__photo.in:hover img {
    transform: scale(1.04);
  }
}
/* the text keeps clear of the next person: it stops short of the column's edge, and is sized to sit under a 160px portrait */
.person__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 21rem;
  padding-right: clamp(12px, 2.6vw, 40px);
}
.person__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.person__role {
  margin-top: 5px;
  min-height: 2.7em;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent);
  text-wrap: balance;
} /* two lines held, so summaries start level across a row */
.person__sum {
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body);
  text-wrap: pretty;
}
.person__foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: clamp(10px, 1.1vw, 14px);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
}
.more svg {
  width: 10px;
  height: 10px;
  transition: transform 0.6s var(--ease);
}
.more:hover svg,
.more:focus-visible svg {
  transform: rotate(90deg);
}
.inlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--quiet);
  transition: color 0.3s;
}
.inlink:hover,
.inlink:focus-visible {
  color: var(--accent);
}
.inlink svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 1100px) {
  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@supports (grid-template-rows: subgrid) {
  @media (min-width: 601px) {
    /* The people in a row share their lines: names, titles, summaries and links start level,
       and a title takes two lines only in a row where somebody's needs them. */
    .team__grid {
      row-gap: 0;
      margin-bottom: calc(-1 * var(--row-gap));
    }
    .person {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      padding-bottom: var(--row-gap);
    }
    .person > .rule {
      grid-row: 1;
    }
    .person__photo {
      grid-row: 2;
      align-self: start;
    }
    .person__text {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 3 / span 4;
    }
    .person__role {
      min-height: 0;
    }
    .person__foot {
      margin-top: 0;
      align-self: start;
    }
  }
}
@media (max-width: 600px) {
  /* phones: one person per row, portrait beside the text */
  .team__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  .person {
    display: grid;
    grid-template-columns: clamp(96px, 29vw, 128px) minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }
  .person > .rule {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
  .person__photo {
    width: auto;
    margin-bottom: 0;
  }
  .person__text {
    max-width: none;
    padding-right: 0;
  }
  .person__role {
    margin-top: 4px;
    min-height: 0;
    font-size: 0.9375rem;
    text-wrap: wrap;
  }
  .person__sum {
    margin-top: 8px;
    font-size: 0.9375rem;
  }
  .more {
    font-size: 0.9375rem;
  }
  .person__foot {
    padding-top: 4px;
  }
  .bio__top {
    align-items: center;
  }
}

/* ---------- about: biography sheet ---------- */
.bio {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(680px, 100vw);
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.75s var(--ease);
  box-shadow: -24px 0 80px rgba(7, 11, 42, 0.16);
}
.bio::backdrop {
  background: rgba(7, 11, 42, 0.4);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.bio.is-open {
  transform: none;
}
.bio.is-open::backdrop {
  opacity: 1;
}
.bio__in {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(76px, 7vw, 100px) clamp(24px, 4.4vw, 64px)
    calc(clamp(40px, 5vw, 72px) + env(safe-area-inset-bottom, 0px));
}
.bio__close {
  position: absolute;
  top: calc(clamp(16px, 2vw, 28px) + env(safe-area-inset-top, 0px));
  right: clamp(14px, 2.4vw, 32px);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.3s;
}
.bio__close:hover,
.bio__close:focus-visible {
  background: var(--mist);
}
.bio__close svg {
  width: 14px;
  height: 14px;
}
.bio__top {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2.4vw, 32px);
}
.bio__photo {
  flex: none;
  width: clamp(112px, 12vw, 160px);
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mist);
}
.bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
}
.bio__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.bio__role {
  margin-top: 8px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--accent);
}
.bio .inlink {
  margin: 8px 0 -8px -12px;
}
.bio .inlink svg {
  width: 18px;
  height: 18px;
}
.bio__sum {
  margin-top: clamp(28px, 3vw, 40px);
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.bio__text {
  display: grid;
  row-gap: 1em;
  margin-top: clamp(20px, 2.2vw, 28px);
  padding-top: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--line);
  color: var(--body);
  text-wrap: pretty;
}
.sheet-open {
  overflow: hidden;
}
html:not(.js) .more {
  display: none;
}
/* without scripting the sheets cannot open, so the biographies are set out in full at the foot of the page */
html:not(.js) .bio {
  display: block;
  position: static;
  width: auto;
  max-width: var(--max);
  height: auto;
  margin: clamp(40px, 5vw, 72px) auto 0;
  transform: none;
  box-shadow: none;
}
html:not(.js) .bio__in {
  height: auto;
  overflow: visible;
  padding-block: 0;
}
html:not(.js) .bio__close {
  display: none;
}

/* ---------- about: quote ---------- */
.quote {
  margin-top: var(--section);
  padding-block: clamp(72px, 9.4vw, 152px);
  background: var(--mist);
}
.quote__text {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.875rem, 4.1vw, 3.875rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 17.5em;
  text-wrap: balance;
}
.quote__by {
  margin-top: clamp(28px, 3.2vw, 48px);
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  color: var(--body);
}

/* ---------- about: advisors ---------- */
.advisors {
  padding-bottom: clamp(64px, 8vw, 128px);
}
.advisors .head {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.advisors__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--col-gap);
  border-bottom: 1px solid var(--line);
}
.advisor {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  padding-block: clamp(20px, 2.2vw, 28px);
  border-top: 1px solid var(--line);
}
.advisor__photo {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--mist);
}
.advisor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.advisor__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 2px;
}
.advisor__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.3s;
}
.advisor__meta {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body);
}
a.advisor:hover .advisor__name,
a.advisor:focus-visible .advisor__name {
  color: var(--accent);
}
@media (max-width: 1100px) {
  .advisors__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .advisors__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- contact: page ---------- */
/* The question on the left, its form on the right. The waitlist follows as this page's closing panel. */
.contact {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8.6vw, 132px));
  padding-bottom: clamp(64px, 8vw, 128px);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
.contact__title {
  grid-column: 1 / span 6;
}
.contact__form {
  grid-column: 7 / span 6;
  padding-top: clamp(4px, 0.8vw, 12px);
} /* the first label sits level with the top of the headline */
@media (max-width: 960px) {
  .contact__title,
  .contact__form {
    grid-column: 1 / -1;
  }
  .contact__form {
    padding-top: 0;
  }
}
#waitlist {
  scroll-margin-top: calc(var(--nav-h) + 20px);
}

/* ---------- contact: form ---------- */
/* Fields sit on hairlines like everything else on the site: a label, the entry, and a line that turns blue while in use. */
.form {
  --alert: #b3261e;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(24px, 2.4vw, 34px);
}
.field {
  min-width: 0;
}
.field--wide {
  grid-column: 1 / -1;
}
.field__label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--body);
}
.field__box {
  position: relative;
  display: block;
}
.field__box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.field__box:focus-within::after {
  transform: scaleX(1);
}
.field__input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 8px 0 12px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: none;
  font: inherit;
  font-size: max(16px, 1.1875rem);
  line-height: 1.4;
  color: var(--ink);
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s;
}
.field__input:hover {
  border-bottom-color: var(--quiet);
}
.field__input:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  caret-color: var(--ink);
}
textarea.field__input {
  min-height: calc(1.4em * 3 + 20px);
  resize: none;
  overflow: hidden;
}
.field__err {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--alert);
}
.field.is-bad .field__input {
  border-bottom-color: var(--alert);
}
.field.is-bad .field__box::after {
  background: var(--alert);
}
.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}
.check input {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__box {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
.check__box::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.45s var(--ease);
}
.check input:checked + .check__box {
  background: var(--accent);
  box-shadow: none;
}
.check input:checked + .check__box::after {
  transform: rotate(45deg) scale(1);
}
.check input:focus-visible + .check__box {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.field.is-bad .check__box {
  box-shadow: inset 0 0 0 1px var(--alert);
}
.check__text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}
.check__text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.check__text a:hover {
  color: var(--accent);
}
.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 4px;
}
.form__status {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.form__status:empty {
  display: none;
}
.form__status[data-kind="error"] {
  color: var(--alert);
}
.form__status[data-kind="note"] {
  font-weight: 400;
  color: var(--body);
}
/* in the sheet: under the sheet's title, one field to a row where the sheet is narrow */
.bio .form {
  margin-top: clamp(28px, 3vw, 40px);
}
@media (max-width: 600px) {
  .bio .form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- privacy: page ---------- */
/* Title and effective date on the left, where they stay in view; the policy in one reading column on the right. */
.legal {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(56px, 8.6vw, 132px));
  padding-bottom: clamp(64px, 8vw, 128px);
}
.legal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: clamp(36px, 5vw, 56px);
  align-items: start;
}
.legal__head {
  grid-column: 1 / span 5;
  position: sticky;
  top: calc(var(--nav-h) + clamp(28px, 3.4vw, 48px));
}
.legal__date {
  margin-top: clamp(18px, 2vw, 28px);
}
.legal__doc {
  grid-column: 6 / span 7;
  max-width: 44rem;
  padding-top: clamp(6px, 1vw, 16px);
  font-size: clamp(1.0625rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
@media (max-width: 960px) {
  .legal__head,
  .legal__doc {
    grid-column: 1 / -1;
  }
  .legal__head {
    position: static;
  }
  .legal__doc {
    padding-top: 0;
  }
}

/* ---------- privacy: document ---------- */
/* Each numbered section starts on a hairline. */
.legal__doc > * + * {
  margin-top: 1.1em;
}
.legal__doc h2 {
  margin-top: clamp(44px, 4.6vw, 72px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.legal__doc h3 {
  margin-top: 2.2em;
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.legal__doc h2 + *,
.legal__doc h3 + * {
  margin-top: 0.9em;
}
.legal__doc ul {
  display: grid;
  row-gap: 0.8em;
}
.legal__doc li {
  position: relative;
  padding-left: 1.5em;
}
.legal__doc li::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.legal__doc a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  transition:
    color 0.3s,
    text-decoration-color 0.3s;
}
.legal__doc a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}
.legal__table {
  margin-top: 1.8em;
  overflow-x: auto;
}
.legal__table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}
.legal__table th {
  padding: 0 24px 14px 0;
  text-align: left;
  vertical-align: bottom;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
}
.legal__table td {
  padding: 18px 24px 18px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.legal__table th:first-child {
  width: 44%;
}
.legal__table th:nth-child(2) {
  width: 21%;
}
.legal__table th:last-child,
.legal__table td:last-child {
  padding-right: 0;
}

/* ---------- motion ---------- */
.js [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.06em 0 0.16em;
  margin: -0.06em 0 -0.16em;
}
.js [data-split] .wi {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 1.15s var(--ease);
  transition-delay: calc(var(--i, 0) * 42ms + var(--d, 0ms));
}
.js [data-split].in .wi {
  transform: none;
}
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms + var(--d, 0ms));
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.js [data-line] {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js [data-line].in {
  transform: none;
}
.js [data-unmask] {
  opacity: 0;
  clip-path: inset(7% 6% 7% 6% round calc(var(--radius) * 2.4));
  transition:
    clip-path 1.5s var(--ease),
    opacity 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js [data-unmask].in {
  opacity: 1;
  clip-path: inset(0 0 0 0 round var(--radius));
}
.js [data-unmask] img {
  transform: scale(1.16);
  transition: transform 2s var(--ease);
}
.js [data-unmask].in img {
  transform: none;
}
.js .hero__media {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
}
.js.ready .hero__media {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.2s var(--ease) 0.12s,
    transform 1.5s var(--ease) 0.12s;
}
.js .nav {
  opacity: 0;
}
.js.ready .nav {
  opacity: 1;
  transition: opacity 1s var(--ease) 0.1s;
}
.js.from-site .nav {
  opacity: 1;
  transition: none;
} /* arriving from another page of the site: the nav is already there */
@view-transition {
  navigation: auto;
}
.nav__in {
  view-transition-name: site-nav;
} /* the row inside the bar, not the bar itself: a named element cuts backdrop-filter off from the page, and the bar's frosted layer has to see it */
.nav__links {
  view-transition-name: site-nav-links;
}
.nav__cta {
  view-transition-name: site-nav-cta;
} /* the links and the demo button travel as layers of their own: between a page that shows the button and one that does not they glide to their places instead of showing twice */
.js .lockup[data-reveal] .lockup__star {
  transform: rotate(-70deg) scale(0.2);
  transition: transform 1.6s var(--ease) 0.25s;
}
.js .lockup[data-reveal].in .lockup__star {
  transform: none;
}
.js .chart[data-draw] .chart__axis {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease);
}
.js .chart[data-draw].in .chart__axis {
  stroke-dashoffset: 0;
}
.js .chart[data-draw] .chart__dot {
  transform: scale(0);
  transition: transform 0.8s cubic-bezier(0.2, 1.4, 0.4, 1);
  transition-delay: calc(var(--i) * 38ms + 0.35s);
}
.js .chart[data-draw].in .chart__dot {
  transform: none;
}
.js .chart[data-draw] .chart__label,
.js .chart[data-draw] .chart__tag {
  opacity: 0;
  transition: opacity 1s var(--ease) calc(var(--d, 0ms) + 0.4s);
}
.js .chart[data-draw].in .chart__label,
.js .chart[data-draw].in .chart__tag {
  opacity: 1;
}
.js .demo__star {
  opacity: 0;
  transition:
    transform 1.2s var(--ease),
    opacity 1.6s var(--ease) 0.2s;
}
.js .demo__panel.in .demo__star {
  opacity: 0.18;
}

.show-all [data-reveal],
.show-all [data-line],
.show-all [data-unmask],
.show-all .hero__media,
.show-all .nav,
.show-all [data-split] .wi,
.show-all .chart__dot,
.show-all .chart__label,
.show-all .chart__tag {
  opacity: 1 !important;
  transform: none !important;
  clip-path: none !important;
}
.show-all .chart__axis {
  stroke-dashoffset: 0 !important;
}
.show-all .demo__star {
  opacity: 0.18 !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }
  .js [data-reveal],
  .js [data-line],
  .js [data-unmask],
  .js .hero__media,
  .js .nav,
  .js [data-split] .wi,
  .js .chart[data-draw] .chart__dot,
  .js .lockup[data-reveal] .lockup__star,
  .js [data-unmask] img {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .js .chart[data-draw] .chart__axis {
    stroke-dashoffset: 0;
  }
  .js .chart[data-draw] .chart__label,
  .js .chart[data-draw] .chart__tag {
    opacity: 1;
  }
  .js .demo__star {
    opacity: 0.18;
  }
  .js .hero {
    --pin: 0px;
  }
  .hero__depth {
    display: none;
  }
}
/* ---------- phones: every part fits a screen ---------- */
/* On a phone each part of a page can be seen whole in one screen, and the page scrolls freely from one to the next.
   The reference is an iPhone Pro Max, 430 x 830 visible once the browser's bar has tucked away. One rem is 16px there
   and follows the screen on other phones (width or height, whichever is tighter), so the same composition fits them
   too. A part takes the height its content needs; --gap separates sections, --sub the parts inside one, and --full is
   a panel that fills the screen under the bar. (An earlier version held every part to a full screen and snapped the
   scroll onto each; on a real phone that left gaps and felt sticky, so there is no scroll snapping.)
   These are the rules every page shares; each page's own parts follow in its own section. */
@media (max-width: 560px) {
  html.screens {
    font-size: clamp(14px, 3.7209vw, 17px);
    --pg: 100vh;
    --gutter: 1.25rem;
    --gap: 6rem;
    --sub: 3.5rem;
    --full: calc(var(--pg) - var(--nav-h) - 2.5rem);
  }
  @supports (height: 1lvh) {
    html.screens {
      font-size: clamp(14px, min(3.7209vw, 1.9277lvh), 17px);
      --pg: 100lvh;
    }
  }
  .screens section[id] {
    scroll-margin-top: calc(var(--nav-h) + 1.25rem - var(--gap));
  } /* a menu link lands its heading just under the bar */
  .screens .section {
    padding-top: var(--gap);
  }
  .screens .head {
    row-gap: 0.875rem;
    margin-bottom: 1.5rem;
  }
  .screens .note {
    font-size: max(13px, 0.875rem);
  }

  /* closing panel: a full screen of its own; footer: the site's sections set large, the rest beneath */
  .screens .demo {
    padding-top: 4rem;
  }
  .screens section.demo {
    scroll-margin-top: calc(var(--nav-h) + 1.25rem - 4rem);
  }
  .screens .demo__panel {
    min-height: var(--full);
    padding: 1.75rem 1.5rem 2rem;
  }
  .screens .footer {
    padding-block: 4.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
  }
  .screens .footer__logo {
    display: none;
  } /* the bar above already carries it */
  .screens .footer__grid {
    row-gap: 2.5rem;
  }
  .screens .footer__col:first-of-type {
    grid-column: 1 / -1;
  }
  .screens .footer__col:first-of-type ul {
    row-gap: 1.125rem;
  }
  .screens .footer__col:first-of-type a {
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .screens .footer__base {
    margin-top: 2.75rem;
  }
}

/* ---------- phones: homepage parts ---------- */
/* hero · problem · Surgery Intelligence (panel, then the three points) · platform (four apps) · insights · evidence ·
   best case · trust (two panels) */
@media (max-width: 560px) {
  .screens .wide {
    display: none;
  } /* detail that only wider screens carry */

  /* problem: the statement, four points, sources beneath */
  .screens .problem__grid {
    display: block;
  }
  .screens .problem__head {
    margin-bottom: 1.5rem;
  }
  .screens .problem .row__body {
    padding-block: 0.9375rem;
  }
  .screens .problem .rows .d3 {
    margin-bottom: 0.3125rem;
  }
  .screens .problem .copy strong {
    font-weight: inherit;
    color: inherit;
  } /* under a heading the figures read as plain text */
  .screens .problem__note {
    padding-top: 1.25rem;
  }
  .screens .problem__note .cite {
    display: inline;
  }

  /* Surgery Intelligence: a dark panel that fills the screen, with the name, the lockup and the line, the photograph
     below. The panel is the photograph's own wall carried upward, so the two read as one picture: its colours are
     sampled from the top of the photograph, left to right across the part a phone shows. On a screen taller than the
     photograph can use, the words stay at the top, the photograph at the bottom, and more wall shows between. */
  .screens .canopus__stage {
    gap: 0;
    justify-content: space-between;
    min-height: var(--full);
    border-radius: var(--radius);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(90deg, #022b58 0%, #0e2645 52%, #172844 80%, #192e49 100%);
    color: #fff;
  }
  .screens .canopus__intro {
    position: relative;
    z-index: 1;
    padding: 1.75rem 1.5rem 0;
    gap: 1.25rem;
    color: #fff;
  }
  .screens .canopus__intro .d2 {
    font-size: 2.25rem;
  }
  .screens .canopus .lockup {
    width: 12.5rem;
  }
  .screens .canopus__foot {
    gap: 1rem;
    max-width: none;
  }
  .screens .canopus__foot p {
    color: rgba(255, 255, 255, 0.86);
  }
  .screens .canopus .lockup__star {
    color: inherit;
  }
  /* The photograph is fitted to the frame's height, so a taller frame shows a narrower slice of it. At 1.22 times its
     width the frame still holds the monitor and the clinician whole (about 58% of the picture's width); it stops there. */
  .screens .canopus__photo {
    flex: 1 1 0;
    min-height: 15rem;
    max-height: calc((100vw - 2 * var(--gutter)) * 1.22);
    aspect-ratio: auto;
    border-radius: 0;
    background: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 24%);
    mask-image: linear-gradient(180deg, transparent 0, #000 24%);
  }
  .screens .canopus__photo .frame__par {
    inset: -3% 0;
    transform: translate3d(0, calc(var(--t, 0) * -2.5%), 0);
  }
  .screens .canopus__photo img {
    object-position: 75% 100%;
  } /* the monitor and the clinician, both whole */
  /* the three points */
  .screens .features {
    margin-top: var(--sub);
    row-gap: 0;
  }
  .screens .feature {
    padding-bottom: 1.75rem;
  }
  .screens .feature:last-child {
    padding-bottom: 0;
  }
  .screens .feature .d3 {
    margin: 1.5rem 0 0.625rem;
    font-size: 1.625rem;
  }
  .screens .feature .copy {
    max-width: none;
    font-size: 1.125rem;
  }

  /* platform: one app after another, each a photograph and its lines */
  .screens .platform .head {
    margin-bottom: 1.5rem;
  }
  .screens .mods {
    row-gap: var(--sub);
  }
  .screens .mod__img {
    height: 22.5rem;
    aspect-ratio: auto;
    margin-bottom: 1.25rem;
  }
  .screens .mod__text {
    flex: none;
  }
  .screens .mod__name {
    margin-bottom: 0.625rem;
    font-size: 1.75rem;
  }
  .screens .mod .copy {
    font-size: 1.0625rem;
  }
  .screens .mod__for {
    margin-top: 0;
    padding-top: 0.875rem;
  }

  /* insights: the section is one screen tall and the photograph takes the room the words leave, up to its whole
     frame (4:3). Where it still has to crop, it keeps the top, so the display on the wall is never cut. */
  .screens .insights__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1.5rem;
    min-height: var(--full);
  }
  .screens .insights__photo {
    flex: 1 1 13rem;
    min-height: 13rem;
    max-height: calc((100vw - 2 * var(--gutter)) * 0.75);
    aspect-ratio: auto;
  }
  .screens .insights__photo img {
    object-position: 100% 30%;
  }
  .screens .insights__body .lead {
    margin-top: 0.75rem;
  }
  .screens .insights__body .rows {
    margin-top: 1.25rem;
  }
  .screens .insights__body .row__body {
    padding-block: 0.875rem;
  }

  /* evidence: the five figures as a list, number then name */
  .screens .evidence .head {
    margin-bottom: 1.25rem;
  }
  .screens .evg,
  .screens .evg__group,
  .screens .evg__items,
  .screens .evg__group--two .evg__items {
    display: block;
    margin: 0;
    padding: 0;
  }
  .screens .evg .rule,
  .screens .evg__item .copy,
  .screens .evg__src {
    display: none;
  }
  .screens .evg__item {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    align-items: center;
    column-gap: 0.5rem;
    padding-block: 1rem;
    border-top: 1px solid var(--line);
  }
  .screens .evg__group:last-child .evg__item:last-child {
    border-bottom: 1px solid var(--line);
  }
  .screens .evg__num {
    margin: 0;
    font-size: 2.75rem;
    line-height: 1;
  }
  .screens .evg__title {
    margin: 0;
    min-height: 0;
    font-size: 1.0625rem;
  }
  .screens .evidence .note {
    padding-top: 1.25rem;
  }

  /* best case: heading, the chart, the three points */
  .screens .outcomes .head {
    margin-bottom: 1.25rem;
  }
  .screens .outcomes__grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
  }
  .screens .chart {
    padding: 1rem 1.25rem;
  }
  .screens .chart__plot {
    --lg: 1.75rem;
    width: 15rem;
    max-width: 100%;
    margin-inline: auto;
  } /* sized by its width, so it is drawn the same in every browser */
  .screens .chart__label,
  .screens .chart__tag {
    font-size: 0.875rem;
  }
  .screens .chart__tag svg {
    width: 5rem;
  }
  .screens .outcomes .row__body {
    padding-block: 0.75rem;
  }
  .screens .outcomes .rows .d3 {
    margin-bottom: 0.25rem;
    font-size: 1.1875rem;
  }
  .screens .outcomes .rows .copy {
    font-size: 1rem;
  }

  /* trust: the heading with the first panel, then the second, on the tinted band */
  .screens .trust {
    margin-top: var(--gap);
    padding-block: 4rem;
  }
  .screens section.trust {
    scroll-margin-top: calc(var(--nav-h) + 1.25rem - 4rem);
  }
  .screens .trust .head {
    margin-bottom: 2.25rem;
  }
  .screens .trust__grid {
    row-gap: var(--sub);
  }
  .screens .tp .d3 {
    margin: 1.375rem 0 0.625rem;
  }
  .screens .chips {
    margin-top: 1.25rem;
  }
  .screens .tp__def {
    margin-top: 1.125rem;
    min-height: 4.7em;
  } /* three lines held, so the page keeps still as the badges change */
  .screens .tp + .tp .tp__def {
    min-height: 6.3em;
  }
}
/* ---------- about: phones ---------- */
/* intro · team (two to a row) · quote · advisory board (all eight in one screen); the closing panel and the footer
   follow the shared rules */
@media (max-width: 560px) {
  /* intro: the statement, a hairline, the founding line */
  .screens .intro {
    padding-top: calc(var(--nav-h) + 3.5rem);
  }
  .screens .intro__title {
    font-size: 3rem;
  }
  .screens .intro__foot {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
  }

  /* team: two to a row; the summary waits in the biography, a tap away */
  .screens .team {
    padding-top: var(--gap);
  }
  .screens .team .head {
    margin-bottom: 1.125rem;
  }
  .screens .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1.75rem;
  }
  .screens .person {
    display: flex;
    flex-direction: column;
  }
  .screens .person > .rule,
  .screens .person__sum {
    display: none;
  }
  .screens .person__photo {
    width: min(100%, 11.6875rem);
    margin-bottom: 0.625rem;
  } /* the column's width, and smaller with the type where a screen is short */
  .screens .person__name {
    font-size: 1.125rem;
  }
  .screens .person__role {
    min-height: 2.7em;
    margin-top: 0.1875rem;
    font-size: 0.875rem;
    text-wrap: balance;
  } /* two lines held for everyone, so the links below start level */
  .screens .person__foot {
    padding-top: 0.125rem;
  }
  .screens .more {
    padding-block: 0.375rem;
  }
  .screens .inlink {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* quote: the page's one loud line, on its tinted band */
  .screens .quote {
    margin-top: var(--gap);
    padding-block: 4.5rem;
  }
  .screens .quote__text {
    font-size: 2.25rem;
  }
  .screens .quote__by {
    margin-top: 1.5rem;
  }

  /* advisory board: all eight in one screen, post and company on one line */
  .screens .advisors {
    padding-bottom: 0;
  }
  .screens .advisors .head {
    margin-bottom: 1.25rem;
  }
  .screens .advisor {
    align-items: center;
    gap: 0.875rem;
    padding-block: 0.625rem;
  }
  .screens .advisor__photo {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
  }
  .screens .advisor__text {
    display: block;
    padding-top: 0;
  }
  .screens .advisor__name {
    display: block;
    font-size: 1.0625rem;
  }
  .screens .advisor__meta {
    display: inline;
  }
  .screens .advisor__meta + .advisor__meta::before {
    content: " · ";
  }
}
/* ---------- contact: phones ---------- */
/* The question and its whole form in one screen (iPhone Pro Max, and screens down to about 726px tall);
   the waitlist panel is a screen of its own, by the shared rules. */
@media (max-width: 560px) {
  .screens .contact {
    padding-top: calc(var(--nav-h) + 1.75rem);
    padding-bottom: 0;
  }
  .screens .contact__grid {
    row-gap: 1.25rem;
  }
  .screens .contact__title {
    font-size: 3rem;
  }
  .screens .form {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.0625rem;
  }
  .screens .field__label,
  .screens .check__text {
    font-size: max(15px, 1rem);
  }
  .screens .field__input {
    padding: 6px 0 10px;
    font-size: max(16px, 1.125rem);
  } /* never under 16px: smaller, and iPhones zoom in on the field */
  .screens textarea.field__input {
    min-height: calc(1.4em * 2 + 16px);
  }
  .screens .field__err {
    font-size: max(14px, 0.9375rem);
  }
  .screens .form__foot {
    flex-direction: column;
    align-items: stretch;
    margin-top: 0;
  }
  .screens .form__status {
    font-size: max(15px, 1rem);
  }
}
/* ---------- privacy: phones ---------- */
/* one column; the cookie table becomes a list, each entry with its column headings spelled out */
@media (max-width: 560px) {
  .screens .legal {
    padding-top: calc(var(--nav-h) + 3.5rem);
    padding-bottom: 0;
  }
  .screens .legal__grid {
    row-gap: 2.5rem;
  }
  .screens .legal__title {
    font-size: 3rem;
  }
  .screens .legal__date {
    margin-top: 1rem;
  }
  .screens .legal__doc {
    font-size: max(16px, 1.0625rem);
  }
  .screens .legal__doc h2 {
    margin-top: 3rem;
    padding-top: 1.75rem;
    font-size: 1.625rem;
  }
  .screens .legal__doc h3 {
    font-size: max(17px, 1.1875rem);
  }
  .screens .legal__table {
    overflow: visible;
  }
  .screens .legal__table table,
  .screens .legal__table tbody,
  .screens .legal__table tr,
  .screens .legal__table td {
    display: block;
  }
  .screens .legal__table thead {
    display: none;
  }
  .screens .legal__table table {
    font-size: inherit;
    border-top: 1px solid var(--line-strong);
  }
  .screens .legal__table tr {
    padding-block: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .screens .legal__table td {
    padding: 0;
    border: 0;
  }
  .screens .legal__table td + td {
    margin-top: 0.625rem;
  }
  .screens .legal__table td + td::before {
    content: attr(data-label) ": ";
    font-weight: 600;
    color: var(--ink);
  }
}
