/* Work with me: the calendar page (work-with-me.html, book.html) and the waitlist page. On top of site.css. */

/* The header: the logo of the page they came from, and the way back */
.logo .by { margin-left: 3px; font-weight: 500; font-size: 0.74em; letter-spacing: -0.01em; color: var(--faint); }
.wwm-top { background: #fff; border-bottom: 1px solid var(--line); }
.wwm-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wwm-back { color: var(--muted); font-size: 15px; text-decoration: none; }
.wwm-back:hover { color: var(--ink); }

/* The waitlist: 1 narrow column */
.wwm-main { padding: 80px 0 120px; }
.wwm-card { max-width: 560px; margin: 0 auto; }
.wwm-bar { height: 4px; border-radius: 4px; background: var(--gray); overflow: hidden; margin-bottom: 36px; }
.wwm-bar i { display: block; height: 100%; background: var(--ink); border-radius: 4px; }
.wwm-card h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.035em; }
.wwm-card .hint { margin-top: 12px; color: var(--muted); font-size: 17px; }
.wwm-card .wwm-back { display: inline-block; margin-top: 22px; }

/* The waitlist's email */
.q-field { display: block; width: 100%; margin-top: 26px; border: 1.5px solid var(--line); border-radius: 12px; padding: 15px 16px; font: inherit; font-size: 17px; }
.q-field:focus { outline: none; border-color: var(--ink); }
.q-field.bad { border-color: #c0262d; }
.q-err { display: none; margin-top: 8px; font-size: 14px; color: #c0262d; }
.q-err.on { display: block; }
.wwm-card form .btn { width: 100%; margin-top: 14px; }
.q-small { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* The calendar: our header, then ChrisX's "Call with Chris" filling the rest of the screen */
body.wwm-book { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.wwm-book .wwm-top { flex: none; }
.wwm-frame { flex: 1; min-height: 0; display: block; width: 100%; border: 0; background: var(--gray); }

@media (max-width: 900px) {
  .wwm-main { padding: 48px 0 80px; }
  .wwm-top .wrap { height: 56px; }
}
