/* Opal for clinicians: signing in by phone, the steps after it and the base her profile, the Clinicians page and the
   terms pages build on. Opal's own look: Google Sans served from this platform, serif headings, near black on white
   and grays, with one centered column. */
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/google_sans_latin.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;
}
@font-face {
  font-family: "Google Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/google_sans_latin_ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --ink: #0a0a0a;
  --gray: #6b7280;
  --line: #e5e7eb;
  --fill: #f5f5f4;
  --page: #ffffff;
  --sans: "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 15px;
  line-height: 1.5; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---- the top: Opal's mark, small and black ----------------------------------------------------- */

.top { display: flex; align-items: center; justify-content: space-between; height: 64px;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }
.mark { display: inline-flex; width: 28px; height: 28px; color: var(--ink); }
.mark svg { width: 28px; height: 28px; }
.top-link { font-size: 14px; color: var(--gray); text-decoration: none; }
.top-link:hover { color: var(--ink); }

/* ---- one centered column ---------------------------------------------------------------------- */

.column { width: 100%; max-width: 388px; margin: 0 auto; padding: 9vh 24px 56px; }
.screen h1, .serif { font-family: var(--serif); font-weight: 600; }
.screen h1 { margin: 0; font-size: 32px; line-height: 1.15; letter-spacing: -0.7px; text-wrap: balance; }
.sub { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--gray); }
.first-text a { color: var(--ink); font-weight: 500; white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 16px; -webkit-appearance: none; appearance: none; }
.input:focus { outline: none; border-color: var(--ink); }
.input::placeholder { color: #9ca3af; }
select.input { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--gray) 50%),
  linear-gradient(135deg, var(--gray) 50%, transparent 50%); background-position: calc(100% - 19px) 21px,
  calc(100% - 14px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--gray); }

.phone { display: flex; align-items: center; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.phone:focus-within { border-color: var(--ink); }
.country { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 12px 0 14px; border-right: 1px solid var(--line);
  font-size: 16px; color: var(--ink); }
.country svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.phone input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; border-radius: 0 12px 12px 0;
  background: none; font-size: 16px; }
.phone input:focus { outline: none; }

.code { letter-spacing: .5em; text-align: center; font-size: 22px; font-variant-numeric: tabular-nums; padding-left: .5em; }

.primary { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; border: 0;
  border-radius: 12px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; text-decoration: none; }
@media (hover: hover) { .primary:hover { background: #262626; } }
.secondary { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500;
  text-decoration: none; }
@media (hover: hover) { .secondary:hover { background: var(--fill); } }
.quiet { border: 0; background: none; padding: 6px 0; font-size: 14px; color: var(--gray); text-decoration: underline;
  text-underline-offset: 2px; }
@media (hover: hover) { .quiet:hover { color: var(--ink); } }

.error { min-height: 0; margin: 0; font-size: 14px; color: var(--ink); }
.error:not(:empty) { margin-top: -2px; }
.consent { margin: 20px 0 0; font-size: 14px; line-height: 1.55; opacity: .6; }
.note { margin: 28px 0 0; font-size: 14px; line-height: 1.55; color: var(--gray); }

/* ---- the steps after sign in: a back arrow and a thin line for how far she is ------------------------- */

.steps-head { display: flex; align-items: center; gap: 14px; margin: -4vh 0 32px; }
.back { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-left: -8px;
  border: 0; border-radius: 10px; background: none; color: var(--ink); }
@media (hover: hover) { .back:hover { background: var(--fill); } }
.back svg { width: 20px; height: 20px; }
.progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); transition: width .3s ease; }

.choices { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.choice { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left;
  font-size: 15px; }
@media (hover: hover) { .choice:hover { border-color: #c7c9ce; } }
.choice[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice small { color: var(--gray); font-size: 13px; }

.license-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.license-row .wide { grid-column: 1 / -1; }
.license-row + .license-row { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.add { justify-self: start; align-self: flex-start; }

/* ---- the terms pages: one serif title and comfortable reading --------------------------------------- */

.reading { width: 100%; max-width: 688px; margin: 0 auto; padding: 48px 24px 88px; }
.reading .draft { margin: 0 0 14px; font-size: 14px; color: var(--gray); }
.reading h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.15; letter-spacing: -0.9px; }
.reading .updated { margin: 12px 0 36px; font-size: 15px; color: var(--gray); }
.reading h2 { margin: 36px 0 8px; font-size: 17px; font-weight: 600; }
.reading p, .reading li { font-size: 17px; line-height: 1.7; color: var(--ink); }
.reading p { margin: 0 0 14px; }
.reading footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--gray); }

@media (max-width: 420px) {
  .column { padding-top: 6vh; }
  .reading { padding-top: 28px; }
  .reading h1 { font-size: 32px; letter-spacing: -0.7px; }
}
