/* The storefront pages (checkout, purchased, license, activate): the few things they
   need that macdials.css has no shape for, in its own language: ink, paper and grey,
   mono labels, hairlines, hard edges, nothing rounded and no hue. Loaded after
   macdials.css, so its tokens are in scope. */

/* A license key: long, unbroken base32, so it wraps anywhere rather than overflowing a
   phone. Selected whole on one click, because copying part of a key is the one way to
   get it wrong. */
.keybox{
  display:block;margin:1.1em 0 0;max-width:68ch;
  font-family:var(--mono);font-size:13.5px;line-height:1.6;color:var(--ink);
  background:var(--bezel-hi);border:1px solid var(--hair);padding:14px 16px;
  overflow-wrap:anywhere;word-break:break-all;user-select:all;-webkit-user-select:all;
}

/* A one-line status in the site's mono voice, with a working indicator in front. */
.status,.page p.status{
  display:flex;align-items:center;gap:.7em;margin:1.4em 0 0;max-width:none;
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--ink-2);
}
.spin{
  flex:none;width:14px;height:14px;border:2px solid var(--hair);border-top-color:var(--ink);
  border-radius:50%;animation:spin .9s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.spin{animation:none;border-color:var(--ink-3)}}

/* Buttons under a key or a status: the site's .act, in a row that wraps. */
.page .acts{margin-top:1.4em}
.page .acts .act{margin-top:0}
.act[disabled]{opacity:.55;cursor:default}
/* On a phone the buttons stack, and a stacked column shares one width. */
@media (max-width:520px){.page .acts{flex-direction:column;align-items:stretch}.page .acts .act{width:100%}}

/* A note under the main text: smaller, quieter. */
.page p.quiet{font-size:14.5px;color:var(--ink-3)}
.page p a:not(.act),.page li a{color:var(--ink);text-underline-offset:3px}
.page ol{margin:.9em 0 0;padding-left:1.15em;max-width:56ch}
.page li{font-size:16px;color:var(--ink-2);margin:.4em 0;text-wrap:pretty}
.page li b,.page p b{color:var(--ink);font-weight:600}

/* The checkout's price card: index.html's .terms panel, under the heading. */
.page .terms{max-width:860px}
.page .term p{margin:0;max-width:none}

/* Find My License: the early-access box's field and button, on its own. */
.page .earlyform{max-width:420px;margin-top:1.4em}
.page .earlyform .act{margin-top:0}
.page p.earlymsg{margin:0;font-size:11px;line-height:1.5;max-width:none}
.page .earlydone{max-width:56ch;margin-top:1.4em}
.page .earlydone p{margin:0;font-size:15px}

/* A control named in a step stays on one line. */
.page ol b{white-space:nowrap}
