
:root {
  --display-scale: 1;
  --display-vw: calc(1vw / var(--display-scale));
  --display-vh: calc(1vh / var(--display-scale));
  --display-svh: var(--display-vh);
  --display-dvh: var(--display-vh);
}
@supports (height: 1svh) {
  :root { --display-svh: calc(1svh / var(--display-scale)); }
}
@supports (height: 1dvh) {
  :root { --display-dvh: calc(1dvh / var(--display-scale)); }
}
@supports (zoom: 1.25) {
  @media screen and (min-width: 1800px) and (min-height: 1000px) {
    :root { --display-scale: 1.25; }
  }
  @media screen and (min-width: 2300px) and (min-height: 1300px) {
    :root { --display-scale: 1.5; }
  }
  @media screen and (min-width: 3000px) and (min-height: 1700px) {
    :root { --display-scale: 1.75; }
  }
  @media screen and (min-width: 3600px) and (min-height: 2000px) {
    :root { --display-scale: 2; }
  }
}
@media screen {
  :root { zoom: var(--display-scale); }

  :root[data-hero-demo="true"] { --display-scale: 1; zoom: 1; }
}
@media screen and (min-width: 1800px) and (min-height: 1000px) {
  .shell { height: calc(100 * var(--display-dvh)); }
  [data-display-page="landing"] .stop,
  [data-display-page="purpose"] .stop {
    min-height: calc(100 * var(--display-svh) - 56px);
  }
  [data-display-page="landing"] #hero { min-height: calc(100 * var(--display-svh)); }
  [data-display-page="security"] .stop { height: calc(100 * var(--display-svh) - 56px); }
  [data-display-page="not-found"] body { min-height: calc(100 * var(--display-svh)); }

  .modal-overlay { inset: 0; width: auto; height: auto; }
  .modal-content {
    width: min(46rem, calc(100 * var(--display-vw) - 4rem));
    max-height: calc(100 * var(--display-dvh) - 6rem);
  }
  #core-modal .modal-content { max-height: calc(100 * var(--display-dvh) - 9rem); }
  .course-name-tooltip { max-width: min(32rem, calc(100 * var(--display-vw) - 24px)); }
  .offering-toast { width: min(24rem, calc(100 * var(--display-vw) - var(--s-06))); }
}
@media print {
  :root { --display-scale: 1; zoom: 1; }
}
