/*
 * 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; }

.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; width: 30px; height: 30px; border-radius: 7px; }
.beta-done > img { border-radius: 11px; }
.beta-top-note {
  display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--b-accent) 10%, #fff); color: var(--b-accent);
  font-size: 12px; font-weight: 650; letter-spacing: .01em;
}

.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: 44px;
    grid-template-columns: minmax(0, 1fr) 400px;
    grid-template-areas: "intro form" "shots form" "tour form" "what form" "price 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-price { grid-area: price; }
  .beta-tour { grid-area: tour; }
}

.beta-kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 13px; font-weight: 650; color: var(--b-accent);
}
.beta-intro h1 { font-size: 30px; line-height: 1.15; font-weight: 750; letter-spacing: -.02em; max-width: 16em; }
.beta .beta-lede { margin-top: 14px; color: var(--b-ink-2); font-size: 16px; max-width: 36em; }
@media (min-width: 980px) {
  .beta-intro { padding-top: 8px; }
  .beta-intro h1 { font-size: 40px; }
  .beta-lede { font-size: 17px; }
}

.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; }

.beta-shots { position: relative; display: grid; gap: 10px; }
.beta-shots img, .beta-sheet 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, .beta-sheet figcaption, .beta-cap { font-size: 13px; color: var(--b-muted); text-align: center; }
.beta-sheet { display: grid; gap: 12px; }
.beta-sheet h2 { margin-bottom: 4px; }
.beta-sheet .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-sheet .beta-desk + .beta-cap { margin-bottom: 8px; }
@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: 40px; }
  .beta-sheet figcaption, .beta-cap { text-align: left; }
}

.beta-price h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.beta .beta-price > .beta-small { margin-top: 6px; font-size: 14px; }
.beta-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 14px 0; }
@media (max-width: 560px) { .beta-plans { grid-template-columns: minmax(0, 1fr); } .beta-plan ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.beta-plan { background: var(--b-surface); border: 1px solid var(--b-line); border-radius: 12px; padding: 16px; }
.beta-plan strong { font-size: 15px; }
.beta-plan-price { margin-top: 4px; font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.beta-plan-price small { font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--b-muted); }
.beta .beta-plan ul { margin: 10px 0 0; padding: 0; list-style: none; color: var(--b-ink-2); font-size: 14px; display: grid; gap: 3px; }
/* screenshots open full size (signup.php: img[data-zoom] and #beta-zoom) */
img[data-zoom] { cursor: zoom-in; transition: box-shadow .15s, transform .15s; }
img[data-zoom]:hover, img[data-zoom]:focus-visible { box-shadow: 0 8px 24px rgba(23, 33, 43, .16); outline: none; }
.beta-tour img[data-zoom]:hover { transform: translateY(-2px); }
.beta-zoom { width: fit-content; max-width: 96vw; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; overflow: visible; cursor: zoom-out; }
.beta-zoom::backdrop { background: rgba(15, 20, 26, .78); }
.beta-zoom img { display: block; min-width: min(300px, 90vw); min-height: 160px; max-width: min(1400px, 94vw); max-height: 82vh; width: auto; height: auto; border-radius: 10px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.beta .beta-zoom-cap { margin: 10px 0 0; color: #fff; font-size: 14px; text-align: center; }
.beta-zoom-close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #17212B; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
@media (max-width: 600px) { .beta-zoom-close { top: 6px; right: 6px; } }

/* "A closer look": three screenshots with a line each */
.beta-tour h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.beta-tour-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
@media (min-width: 640px) { .beta-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; } }
.beta-tour figure { margin: 0; }
.beta-tour img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; border: 1px solid var(--b-line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(23, 33, 43, .06); }
.beta .beta-tour figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--b-muted); text-align: left; }
.beta-tour figcaption strong { display: block; font-size: 14px; color: var(--b-ink); }
.beta-what h2, .beta-how h2, .beta-sheet 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; }
}

.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; }

.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);
}

.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); }
.beta-form .ui-pick { margin: 0; width: 100%; }
.beta-form .ui-pick-btn {
  height: 44px; padding: 0 12px; font-size: 15px; font-weight: 400; color: var(--b-ink);
  background: var(--b-surface); border: 1px solid #D3DAE2; border-radius: 8px; box-shadow: none;
}
.beta-form .ui-pick-btn:focus { outline: none; border-color: var(--b-accent); box-shadow: 0 0 0 1px var(--b-accent); }
body.beta .ui-pick-menu { background: var(--b-surface); color: var(--b-ink); border-color: var(--b-line); border-radius: 8px; }
body.beta .ui-pick-opt:hover, body.beta .ui-pick-opt.is-active { background: #F7F9FB; }
body.beta .ui-pick-opt[aria-selected="true"] { background: color-mix(in srgb, var(--b-accent) 10%, #fff); color: var(--b-accent); }

.beta-plan-terms { margin: 4px 0 10px; font-size: 13px; line-height: 1.5; color: var(--muted, #475467); }
