/* The page for testers (November 20; redrawn November 25 from the round-1 mock, docs/specs/onboarding-overhaul/mock/
   more.html): three steps, Android's two install questions drawn with the choice to tap lit, three lines on what Locke
   does to the phone, the rest folded. Over /welcome/o.css; the mock's parts ported with every selector under .o. */
/* ---- The download page (a web page: it scrolls) ---- */
.o .dl-hero {
  position: relative;
  height: 300px;
}
/* The whole key, centred over the moon. The mock's bleed (right: -40px) cut its shaft off at a phone's edge and hung it
   out of the column on a computer: "awkwardly shoved all the way to the right" (the owner, November 30). The box keeps
   the drawing's proportions (938 by 416). */
.o .dl-hero .keywrap {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px;
  width: 250px;
  height: 111px;
  margin: 0 auto;
  transform: rotate(-14deg);
  animation: o-keyFloat 5s ease-in-out infinite;
}
.o .dl-hero .keywrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 18px rgba(67, 216, 255, 0.45));
}
.o .dl-hero h1 {
  position: absolute;
  left: 22px;
  top: 168px;
  margin: 0;
  font: italic 900 76px/0.82 var(--black);
  text-transform: uppercase;
  color: var(--text);
  transform: rotate(-4deg);
  transform-origin: 0 50%;
  text-shadow: 4px 5px 0 var(--o-ink);
}
.o .dl-hero h1 span {
  display: block;
  color: var(--hi);
}
.o .dl-lead {
  margin: 4px 26px 0;
  font: 500 18px/1.4 var(--body);
  color: var(--text);
}
.o .invite {
  margin: 22px 22px 0;
  padding: 12px 16px 14px;
  background: var(--paper);
  color: var(--o-ink);
  border: 3px solid var(--o-ink);
  box-shadow: 6px 7px 0 rgba(2, 8, 26, 0.7);
  transform: rotate(-1.2deg);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2px 10px;
}
.o .invite .lbl {
  grid-column: 1 / -1;
  font: italic 800 12px/1 var(--heavy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #3a5274;
}
.o .invite .code {
  font: 900 clamp(34px, 12vw, 46px) / 1 var(--black);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.o .invite .copy {
  font: italic 900 20px/1 var(--heavy);
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 8px;
}
.o .invite small {
  grid-column: 1 / -1;
  font: 500 13px/1.3 var(--body);
  color: #3a5274;
}
.o .steps3 {
  list-style: none;
  margin: 34px 0 0;
  padding: 0 22px;
  display: grid;
  gap: 30px;
}
.o .steps3 > li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
}
.o .num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  font: italic 900 22px/1 var(--heavy);
  color: var(--o-ink);
  background: var(--hi);
  transform: skewX(-12deg);
  box-shadow: 0 0 12px rgba(67, 216, 255, 0.45);
}
.o .steps3 h3 {
  margin: 4px 0 0;
  font: italic 700 25px/1 var(--head);
}
.o .steps3 .body {
  grid-column: 2;
  display: grid;
  gap: 10px;
  justify-items: start;
}
.o .steps3 p {
  margin: 0;
  font: 400 15.5px/1.42 var(--body);
  color: var(--text-2);
}
.o .steps3 .go {
  margin: 12px 0 2px 6px;
  font-size: 32px;
}
.o .meta {
  font: 500 13px/1.3 var(--body);
  color: var(--muted);
}
/* Android's own two questions, drawn small, the choice to tap lit. */
.o .asks {
  /* Out under the step's number, across the column: the two cards share what a 320 px screen leaves. */
  margin-left: -54px;
  width: calc(100% + 54px);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.o .droid {
  flex: 1 1 0;
  min-width: 0;
  max-width: 160px;
  padding: 12px 12px 10px;
  border-radius: 18px;
  background: #eef1f7;
  color: #1b1f27;
  font:
    400 10.5px/1.35 Roboto,
    var(--body);
  box-shadow: 4px 5px 0 rgba(2, 8, 26, 0.7);
}
.o .droid b {
  display: block;
  font:
    500 12px/1.25 Roboto,
    var(--body);
  margin-bottom: 5px;
}
.o .droid .btns {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  font:
    500 10.5px/1 Roboto,
    var(--body);
  color: #3a5aa8;
}
.o .droid .lit {
  position: relative;
  color: #3a5aa8;
}
.o .droid .lit::after {
  content: "";
  position: absolute;
  inset: -6px -7px;
  border: 2.5px solid var(--hi);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(67, 216, 255, 0.7);
  animation: o-litPulse 1.6s ease-in-out infinite;
}
@keyframes o-litPulse {
  50% {
    transform: scale(1.08);
  }
}
.o .droid .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding: 6px 0 2px;
  border-top: 1px solid #d5dbe6;
  flex-wrap: nowrap;
  gap: 4px;
}
.o .sw {
  width: 26px;
  height: 15px;
  border-radius: 8px;
  background: #3a5aa8;
  position: relative;
  flex: none;
}
.o .sw::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}
.o .then {
  align-self: center;
  font: italic 900 20px/1 var(--heavy);
  color: var(--hi);
}
.o .does {
  margin: 44px 22px 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}
.o .does h4,
.o .folds h4 {
  margin: 0 0 14px;
}
.o .does ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.o .does li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  font: 400 15px/1.42 var(--body);
  color: var(--text-2);
}
.o .does li svg {
  width: 30px;
  height: 30px;
}
.o .folds {
  margin: 26px 22px 0;
  display: grid;
}

/* ---- The page's own ---- */
.o.dl {
  position: relative;
  inset: auto;
  z-index: auto;
  overflow: visible;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 48px);
  isolation: isolate;
}
.o.dl .dl-hero .scene {
  height: 330px;
  opacity: 0.75;
}
@keyframes o-keyFloat {
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}
.o .copy {
  padding: 0 0 8px;
  background: none;
  cursor: pointer;
}
.o .copy::before {
  content: none;
}
.o a.go {
  text-decoration: none;
}
.o .folds details {
  border-top: 1px solid var(--line);
}
.o .folds summary {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  font: italic 700 19px/1 var(--head);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.o .folds summary::-webkit-details-marker {
  display: none;
}
.o .folds summary::after {
  content: "+";
  color: var(--hi);
  font-style: normal;
}
.o .folds details[open] summary::after {
  content: "–";
}
.o .folds .fold {
  padding: 0 0 16px;
  font: 400 15px/1.45 var(--body);
  color: var(--text-2);
}
.o .folds .fold p,
.o .folds .fold ul {
  margin: 0 0 10px;
}
.o .folds .fold ul {
  padding-left: 18px;
}
.o .folds .fold a {
  color: var(--hi);
}
.o .no-invite {
  margin: 22px 26px 0;
  font: 400 15.5px/1.42 var(--body);
  color: var(--text-2);
}

/* ---- Each device (November 25, docs/specs/tester-distribution.md) ---- */
/* The switch: the device the page was opened on lit, the others a tap away. */
.o .for {
  margin: 22px 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}
.o .for button {
  padding: 9px 12px 8px;
  font: italic 900 19px/1 var(--heavy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.o .for button::before {
  background: transparent;
  box-shadow: none;
}
/* No slab on hover until chosen: the looks' hover shadow (ui.css, 0,4,2 in Broadcast and Riot) drew a stray L. */
:root .o .for button:not([aria-pressed="true"]):hover::before {
  box-shadow: none;
}
.o .for button[aria-pressed="true"] {
  color: var(--o-ink);
}
.o .for button[aria-pressed="true"]::before {
  background: var(--hi);
  box-shadow: 0 0 12px rgba(67, 216, 255, 0.45);
}
/* Lines with no picture of their own: a small accent mark where the picture would be. */
.o .does .plain li {
  display: block;
  position: relative;
  padding-left: 18px;
}
.o .does .plain li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--hi);
  transform: skewX(-12deg);
}

/* ---- iPhone before TestFlight's public link: asked for by email (routes/testflight.mjs, November 27) ---- */
.o .tf-ask {
  display: grid;
  gap: 10px;
  margin: 4px 0 12px;
}
.o .tf-ask label {
  margin: 0;
}
.o .tf-ask button {
  justify-self: start;
}
.o .steps3 .tf-ask .meta {
  margin: 0;
  font: 500 13px/1.35 var(--body);
  color: var(--muted);
}
.o .tf-state {
  margin: 0 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--hi);
  font: 500 15.5px/1.42 var(--body);
  color: var(--text);
}
.o .tf-state + .copy {
  margin: 0 0 10px;
  font: italic 900 17px/1 var(--heavy);
  color: var(--blue);
}

/* ---- Get an invite (docs/specs/open-invites.md, November 30): where a linked invite shows, without one ---- */
.o .no-invite p {
  margin: 0;
}
.o .get {
  display: grid;
  justify-items: start;
  margin: 18px 0 4px;
}
.o .get[hidden] {
  display: none;
}
/* The way on, as a button: ui.css's slab and lift give way to the accent bar and the tilt. Get an invite sits at the
   column's edge, so its bar starts inside the column, where the device switch and the step numbers do. */
.o button.go::before {
  top: auto;
  box-shadow: none;
}
.o .get .go::before {
  left: -8px;
}
.o button.go:hover:not(:disabled) {
  transform: rotate(-3deg) translate(-1px, -2px);
}
.o button.go:hover:not(:disabled)::before {
  box-shadow: none;
}
.o button.go:active:not(:disabled) {
  transform: rotate(-3deg) scale(0.96);
}
.o button.go:disabled {
  opacity: 0.6;
}
/* The status line: always there (role="status"), drawn only once it has something to say. */
.o .no-invite .get-said {
  margin: 14px 0 0;
  padding-left: 12px;
  border-left: 3px solid var(--hi);
  font: 500 15.5px/1.42 var(--body);
  color: var(--text);
}
.o .no-invite .get-said:empty {
  margin: 0;
  padding: 0;
  border: 0;
}
.o .get-said a,
.o .needs a {
  color: var(--hi);
}
/* Android's line that setup needs a computer, under the invite or Get an invite. */
.o .no-invite.needs {
  margin-top: 18px;
}
