/* The public pages' email lists (DEC-140/141/172/384): the email form, its
   confirmation panel, the Turnstile box and the printer question pop-up.
   Shared by Beta.html (the launch waitlist) and Landing.html (the "tell me
   when it works with my printer" box); the behavior is assets/waitlist.js. */
/* the email form — replaces .hero-cta where a page uses it */
.notify { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; max-width: 440px; }
.notify .input { flex: 1 1 220px; height: 50px; font-size: 15px; border-radius: 10px; }
.notify .btn-lg { flex: 0 0 auto; }
.notify.notify-wide { max-width: 480px; margin: 32px auto 0; }
.notify-msg { font-size: 13px; margin-top: 12px; min-height: 18px; color: var(--text-2); }
.notify-msg.ok { color: var(--good); }
.notify-msg.err { color: var(--low); }
.notify-msg-c { text-align: center; }
/* Turnstile widget. Sits between a form and its message line, in the same
   column as the input; the closing form is centered, so its box is too.
   min-height reserves the widget's own ~65px so the message line underneath
   does not jump when it finishes rendering. */
.ts-box { margin-top: 12px; min-height: 65px; }

/* Waitlist confirmation, replacing the form outright once an address is in.
   The old success state was a 13px line under an untouched input, and the
   operator missed it on a live run (2026-09-08) -- a form still sitting
   there also invites a second submit that can only ever be a no-op.
   .notify is a flex row, so its display beats the UA [hidden] rule; the
   explicit [hidden] selectors below are what actually take it off screen. */
.notify[hidden], .ts-box[hidden] { display: none; }
.notify-done { display: none; gap: 13px; align-items: flex-start; text-align: left;
  padding: 16px 18px; border: 1px solid var(--accent-line);
  background: var(--accent-soft); border-radius: 12px; max-width: 480px; }
.notify-done.on { display: flex; }
.notify-done-c { margin-left: auto; margin-right: auto; }
.notify-done .tick { width: 24px; height: 24px; flex: none; border-radius: 50%;
  border: 2px solid var(--good); display: grid; place-items: center; margin-top: 1px; }
.notify-done .tick svg { width: 12px; height: 12px; display: block;
  stroke: var(--good); stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round; }
.notify-done h3 { margin: 0 0 4px; font-size: 16px; font-weight: 650; }
.notify-done p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.ts-box.ts-center { display: flex; justify-content: center; }
/* printer dialog */
.pmodal-overlay {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(0,0,0,.62); padding: 20px; overflow-y: auto;
}
.pmodal-overlay[hidden] { display: none; }
.pmodal {
  position: relative; width: 100%; max-width: 480px; background: var(--surface);
  border: 1px solid var(--border-mid); border-radius: var(--r-xl);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.pmodal h3 { font-size: 21px; font-weight: 750; letter-spacing: -.02em; margin: 0 0 8px; }
.pmodal-sub { font-size: 13.5px; line-height: 1.55; color: var(--text-2); margin: 0 0 18px; }
.pmodal-x {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; line-height: 1;
  border-radius: 8px; border: 1px solid transparent; background: transparent;
  color: var(--text-2); font-size: 21px; cursor: pointer;
}
.pmodal-x:hover { background: var(--hover); color: var(--text); }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pchip {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--bg);
  font-size: 13.5px; font-weight: 600; color: var(--text); user-select: none;
}
.pchip:hover { border-color: var(--border-mid); }
.pchip input { accent-color: var(--accent); width: 15px; height: 15px; flex: none; margin: 0; }
.pchip.on { border-color: var(--accent-line); background: var(--accent-soft); }
.pother { margin-top: 10px; }
.pother[hidden] { display: none; }
.pmodal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.pmodal-msg { font-size: 12.5px; color: var(--low); margin-top: 10px; min-height: 16px; text-align: right; }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }
