/* Emailed-code sign-in page: colours, sizes, page background and the big-screen scaling. */

:root {
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  --ink: #0f172a;
  --text: #334155;
  --muted: #526078;
  --line: #e2e8f0;
  --field-line: #7a889d;
  --field-line-hover: #56657c;

  --brand: #2d6cdf;
  --brand-hover: #245bc0;
  --brand-press: #1d4ea8;
  --brand-link: #1f57bb;
  --brand-tint: #eaf1fd;
  --brand-halo: rgba(45, 108, 223, 0.26);

  --danger: #b42318;
  --danger-text: #912018;
  --danger-bg: #fef3f2;
  --danger-line: #f4b4ad;
  --ok: #15803d;
  --ok-text: #166534;
  --ok-bg: #f0fdf4;
  --ok-line: #9ad9b3;

  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #3f95d3;
}

/* On big monitors the whole card scales up a little so it keeps its presence. */
@media (min-width: 100rem) {
  html {
    font-size: 106.25%;
  }
}

@media (min-width: 118rem) {
  html {
    font-size: 112.5%;
  }
}

@media (min-width: 150rem) {
  html {
    font-size: 137.5%;
  }
}

body.otp-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
