/* The Desk's public legal pages: /sms-terms and /privacy on sales.athleticsmd.org. */
:root {
  --bg: #f7f8fc;
  --paper: #ffffff;
  --text: #1a1f36;
  --muted: #4a5170;
  --line: #e2e5f0;
  --link: #1f5fd6;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #070a1c; --paper: #0f1430; --text: #eef1ff; --muted: #c6cdea; --line: rgba(200, 212, 255, .14); --link: #7fb0ff; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.doc {
  max-width: 760px; margin: 32px auto; padding: 32px 28px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
}
.kicker { margin: 0 0 6px; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
h1 { margin: 0 0 4px; font-size: 28px; line-height: 1.25; }
.eff { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
h2 { margin: 28px 0 8px; font-size: 18px; }
p, li { color: var(--text); }
ul { padding-left: 22px; }
a { color: var(--link); }
footer { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { color: var(--muted); }
@media (max-width: 600px) {
  .doc { margin: 0; padding: 24px 16px; border: 0; border-radius: 0; }
  h1 { font-size: 24px; }
}

/* /sms-signup: the web opt-in */
.optin label { display: block; margin: 14px 0 6px; font-weight: 600; }
.optin input[type=text], .optin input:not([type]), .optin input[type=tel], .optin input[type=email] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.optin label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 20px 0 12px; }
.optin label.check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.optin button {
  display: block; width: 100%; margin-top: 18px; padding: 14px; font: inherit; font-weight: 700;
  color: #fff; background: #111526; border: 0; border-radius: 8px; cursor: pointer;
}
.optin .err { padding: 10px 12px; border-radius: 8px; background: #fdecec; color: #8a1c1c; }
@media (prefers-color-scheme: dark) { .optin button { background: #2f80ff; } .optin .err { background: #3a1216; color: #ffb3b3; } }

/* /apply: the founding-team applications (Jotform in a frame) */
.doc.apply { max-width: 880px; }
.apply .kicker a { color: inherit; text-decoration: none; }
.apply iframe.jotform { display: block; width: 100%; height: 1500px; min-height: 90vh; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.apply .alt { font-size: 14px; color: var(--muted); }
.apply .roles { list-style: none; padding: 0; display: grid; gap: 12px; }
.apply .roles a { display: flex; justify-content: space-between; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); }
.apply .roles a span { color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .apply iframe.jotform { height: 1900px; border-radius: 0; border-left: 0; border-right: 0; } .apply .roles a { flex-direction: column; } }

/* /demo: the product landing pages and the demo-request form (lead-form.js) */
.doc.demo { max-width: 820px; }
.demo .kicker a { color: inherit; text-decoration: none; }
.demo .caps li { margin-bottom: 8px; }
.demo .products { list-style: none; padding: 0; display: grid; gap: 12px; }
.demo .products li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; }
.demo .products a { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--text); }
.demo .products a span, .demo .products p { color: var(--muted); font-size: 14px; }
.demo .products p { margin: 6px 0 0; }
.demo-form .field { margin: 14px 0 0; }
.demo-form .field label { display: block; margin-bottom: 6px; font-weight: 600; }
.demo-form .field label span { color: var(--muted); font-weight: 400; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.demo-form label.check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 12px; font-size: 14px; color: var(--muted); }
.demo-form label.check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.demo-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-form .lead-note { font-size: 14px; color: var(--muted); }
.demo-form button {
  display: block; width: 100%; margin-top: 12px; padding: 14px; font: inherit; font-weight: 700;
  color: #fff; background: #111526; border: 0; border-radius: 8px; cursor: pointer;
}
.demo-form button:disabled { opacity: .6; cursor: wait; }
.demo-form .form-message.err { padding: 10px 12px; border-radius: 8px; background: #fdecec; color: #8a1c1c; }
.lead-done { padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
@media (prefers-color-scheme: dark) { .demo-form button { background: #2f80ff; } .demo-form .form-message.err { background: #3a1216; color: #ffb3b3; } }

/* Booking the demo (1 Oct 2026): the time picker that follows the request. */
.booking, .lead-done { outline: none; scroll-margin-top: 96px; }
.booking[hidden], .lead-done[hidden] { display: none; }
.booking h2 { margin: 0 0 .4rem; }
.booking-days, .booking-times { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0; }
.booking .slot { min-height: 44px; padding: .5rem .85rem; border: 1px solid #C9D2E3; border-radius: 10px; background: #fff; color: #0A1633; font: inherit; font-weight: 600; cursor: pointer; }
.booking .slot:hover { border-color: #2547F4; }
.booking .slot[aria-pressed="true"] { background: #2547F4; border-color: #2547F4; color: #fff; }
.booking .slot:focus-visible, .booking-later:focus-visible { outline: 3px solid rgba(37,71,244,.35); outline-offset: 2px; }
.booking-times .slot { min-width: 6.5rem; }
.booking-promise { display: flex; gap: .65rem; align-items: flex-start; margin: .9rem 0; font-size: .95rem; cursor: pointer; }
.booking-promise input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: #2547F4; }
.booking-confirm { width: 100%; justify-content: center; }
.booking-confirm:disabled { opacity: .55; cursor: not-allowed; }
.booking-later { margin-top: .6rem; background: none; border: 0; padding: .3rem 0; color: #2547F4; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.booking-when { font-size: 1.15rem; font-weight: 700; }
.booking-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1rem 0; }
.booking-ics { font-weight: 700; }
.booking-note { color: #4A5672; font-size: .92rem; }
.booking-msg.err { color: #C62828; }
