/*
 * Public signup site (the bare platform domain). Same palette, borders and type as the staff app
 * so the first thing people see looks like the product they'll be using.
 */
body.beta {
  --b-bg: #F4F6F9; --b-surface: #FFFFFF; --b-ink: #17212B; --b-ink-2: #3A4754; --b-muted: #67747F;
  --b-line: #E1E6EC; --b-line-2: #EDF0F4; --b-accent: var(--brand, #0F766E);
  margin: 0; overflow-x: clip; background: var(--b-bg); color: var(--b-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.beta * { box-sizing: border-box; }
.beta h1, .beta h2, .beta p, .beta dl, .beta dd, .beta ol, .beta figure { margin: 0; }
.beta a { color: inherit; }

/* top bar, like the app's */
.beta-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 60px; padding: 0 max(16px, calc((100vw - 1120px) / 2)); background: var(--b-surface); border-bottom: 1px solid var(--b-line);
}
.beta-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: -.01em; }
.beta-brand img { display: block; }
.beta-top-note { color: var(--b-muted); font-size: 13px; text-align: right; }

/* layout: one column on phones, form on the right from tablet-landscape up */
.beta-main {
  max-width: 1120px; margin: 0 auto; padding: 28px 16px 56px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px;
}
@media (min-width: 980px) {
  .beta-main {
    padding: 48px 24px 72px; column-gap: 56px; row-gap: 40px;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas: "intro form" "shots form" "what form" "how form";
  }
  .beta-intro { grid-area: intro; }
  .beta-form { grid-area: form; align-self: start; position: sticky; top: 24px; }
  .beta-shots { grid-area: shots; }
  .beta-what { grid-area: what; }
  .beta-how { grid-area: how; }
}

.beta-intro h1 { font-size: 30px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; max-width: 15em; }
.beta .beta-lede { margin-top: 14px; color: var(--b-ink-2); font-size: 16px; max-width: 34em; }
@media (min-width: 980px) {
  .beta-intro { padding-top: 8px; }
  .beta-intro h1 { font-size: 40px; }
  .beta-lede { font-size: 17px; }
}

/* form card */
.beta-form { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: 12px; padding: 22px 18px; box-shadow: 0 1px 2px rgba(23, 33, 43, .06); }
@media (min-width: 480px) { .beta-form { padding: 24px; } }
.beta-form h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.beta-form form { display: flex; flex-direction: column; margin-top: 18px; }
.beta-form label { display: block; font-size: 13px; font-weight: 600; color: var(--b-ink-2); margin: 14px 0 6px; }
.beta-form form > label:first-of-type, .beta-form .hp + label { margin-top: 0; }
.beta-form input, .beta-form select {
  width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 15px; color: var(--b-ink);
  background: var(--b-surface); border: 1px solid #D3DAE2; border-radius: 8px; margin: 0; box-shadow: none; appearance: auto;
}
.beta-form input:focus, .beta-form select:focus { outline: none; border-color: var(--b-accent); box-shadow: 0 0 0 1px var(--b-accent); }
.beta-form input::placeholder { color: #9AA5B0; }
.beta-addr { display: flex; align-items: stretch; border: 1px solid #D3DAE2; border-radius: 8px; overflow: hidden; background: var(--b-surface); }
.beta-addr:focus-within { border-color: var(--b-accent); box-shadow: 0 0 0 1px var(--b-accent); }
.beta-form .beta-addr input { border: 0; border-radius: 0; box-shadow: none; min-width: 0; flex: 1; }
.beta-addr span { display: flex; align-items: center; padding: 0 12px; background: #F7F9FB; border-left: 1px solid var(--b-line); color: var(--b-muted); font-size: 13px; white-space: nowrap; }
@media (max-width: 400px) { .beta-addr span { font-size: 12px; padding: 0 8px; } }
.beta-pair { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.beta .beta-hint { margin-top: 6px; font-size: 13px; color: var(--b-muted); }
.beta-hint.is-ok { color: #067647; }
.beta-hint.is-bad { color: #B42318; }
.beta .beta-small { font-size: 13px; color: var(--b-muted); margin-top: 4px; }
.beta .beta-form form .beta-small { margin-top: 10px; text-align: center; }
.beta-error { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: #FEF3F2; color: #B42318; font-size: 14px; border: 1px solid #FECDCA; }
.beta .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.beta .beta-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 20px; padding: 0 18px;
  background: var(--b-accent); color: #fff; border: 1px solid var(--b-accent); border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.beta .beta-btn:hover { background: color-mix(in srgb, var(--b-accent) 88%, #000); }
.beta-btn-alt { width: auto; }

/* screenshots: the computer view with the phone sat in front of it */
.beta-shots { position: relative; display: grid; gap: 10px; }
.beta-shots img { display: block; width: 100%; height: auto; }
.beta-phone { width: 62%; max-width: 280px; margin: 0 auto; border: 7px solid #17212B; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(23, 33, 43, .16); }
.beta-desk { display: none; }
.beta-shots figcaption { font-size: 13px; color: var(--b-muted); text-align: center; }
@media (min-width: 700px) {
  .beta-shots { padding: 0 0 0 56px; }
  .beta-desk { display: block; border: 1px solid #D3DAE2; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(23, 33, 43, .06); }
  .beta-phone { position: absolute; left: 0; top: 28px; width: 27%; max-width: 200px; border-width: 6px; border-radius: 26px; z-index: 1; }
  .beta-shots figcaption { text-align: left; padding-left: calc(min(27%, 200px) - 20px); min-height: 64px; }
}

/* what's in it: a plain spec list rather than icon tiles */
.beta-what h2, .beta-how h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.beta .beta-what dl { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 14px; border-top: 1px solid var(--b-line); }
.beta-what dl > div { padding: 16px 0; border-bottom: 1px solid var(--b-line); }
.beta-what dt { font-weight: 650; font-size: 15px; }
.beta .beta-what dd { margin-top: 4px; color: var(--b-ink-2); font-size: 14px; }
@media (min-width: 700px) {
  .beta .beta-what dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 980px) {
  .beta .beta-what dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.beta-how { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: 12px; padding: 22px 18px; }
@media (min-width: 700px) { .beta-how { padding: 28px; } }
.beta .beta-how ol { margin-top: 14px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; max-width: 46em; }
.beta-how li { counter-increment: step; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; color: var(--b-ink-2); }
.beta-how li::before {
  content: counter(step); width: 24px; height: 24px; border-radius: 50%; background: #F7F9FB; border: 1px solid var(--b-line);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--b-ink); margin-top: 1px;
}
.beta-how .beta-btn { margin-top: 22px; }

/* after submitting */
.beta-done { max-width: 560px; margin: 0 auto; padding: 56px 16px 72px; display: grid; gap: 14px; }
.beta-done h1 { font-size: 28px; font-weight: 750; letter-spacing: -.02em; margin-top: 6px; }
.beta-done p { color: var(--b-ink-2); }
.beta-done .beta-small a { color: var(--b-accent); }

.beta-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding: 20px max(16px, calc((100vw - 1120px) / 2)); border-top: 1px solid var(--b-line); color: var(--b-muted); font-size: 13px; background: var(--b-surface);
}

/* sign in */
.beta-top-right { display: flex; align-items: center; gap: 14px; }
.beta .beta-signin {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #D3DAE2; border-radius: 8px;
  background: var(--b-surface); color: var(--b-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.beta .beta-signin:hover { background: #F7F9FB; }
@media (max-width: 560px) { .beta-top-note { display: none; } }
.beta-signin-page { max-width: 480px; }
.beta .beta-signin-page .beta-form { grid-area: auto; position: static; margin-top: 12px; }
.beta-signin-page .beta-form label:first-of-type { margin-top: 0; }
.beta-signin-page .beta-small a { color: var(--b-accent); }

.beta .beta-google { gap: 10px; background: #fff; color: var(--b-ink); border-color: #D3DAE2; margin-top: 6px; }
.beta .beta-google:hover { background: #F7F9FB; }
.beta .beta-btn-quiet { margin-top: 14px; }
.beta-alt { margin-top: 6px; }
.beta-alt summary { cursor: pointer; color: var(--b-muted); font-size: 14px; padding: 6px 0; }
.beta-alt summary:hover { color: var(--b-ink); }
.beta-picker { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.beta-picker a { display: grid; gap: 2px; padding: 14px 16px; background: var(--b-surface); border: 1px solid var(--b-line); border-radius: 10px; text-decoration: none; }
.beta-picker a:hover { border-color: var(--b-accent); }
.beta-picker strong { font-size: 16px; }
.beta-picker span { font-size: 13px; color: var(--b-muted); }
