/* Get Moard and Pricing: the two customer pages that sit on the account
   stylesheet. Loaded after account.css on those two routes only (build.py),
   so their composition is said here without reaching into the account and
   sign-in rules. The plan board is launch.css's, because Home draws it too. */

/* One key, not a bar across the page: the size of the press it asks for,
   with the key's own lower edge, as the site's other Moard keys have. */
.customer-page .journey-action.account-primary { display: flex; width: fit-content; min-width: 200px; max-width: none; min-height: 50px; margin: 22px auto 0; padding: 15px 34px; border-bottom: 4px solid var(--moard-intent-deep); border-radius: 8px; font: 750 15px var(--site-font); }
.customer-page .journey-action.account-primary:hover { border-color: var(--moard-ink); background: var(--moard-ink); }

/* ── Get Moard ──────────────────────────────────────────────────────────
   Composed like Home's first screen: the words and the one key beside the
   picture of the product as it really is (the PC asking about the digits, the
   phone it pairs with), not a title and grey line over a picture. What is
   missing (the download, before release) is said in ink right above the key
   that answers it. */
.customer-page .get-moard__lead .availability-note { margin-top: 26px; color: var(--moard-ink); }
.customer-page .get-moard__lead .journey-action + .account-note { max-width: 46ch; margin: 12px auto 0; font-size: 13px; }
.account-page.customer-page .get-moard__lead > p:first-of-type { color: var(--moard-ink); }
.setup-handoff { max-width: 34ch; margin: 18px auto 0; }
.setup-handoff p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
.setup-handoff p:first-child { color: var(--moard-ink); }
.setup-handoff .setup-handoff__status { color: var(--moard-ink); font-size: 14px; }
.setup-handoff__status:empty { margin: 0; }
@media (min-width: 960px) {
  .customer-page .get-moard { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(36px, 4.5vw, 80px); align-items: center; max-width: 1240px; }
  .customer-page .get-moard > * { grid-column: 1 / -1; }
  .customer-page .get-moard > .get-moard__lead { grid-column: 1; }
  .customer-page .get-moard > .get-moard__product { grid-column: 2; width: 100%; margin-top: 24px; }
}

/* The way through, as one wire down the page: each step's key on it, joined
   to the next the way the PC's first screen joins its keys, its words beside
   it; the wire ends at the first press. Optional things follow off the wire.
   Each control a step names is drawn as the key it is on the screen. */
@media (min-width: 760px) {
  .customer-page .setup-keys { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 720px; margin: 140px auto 0; }
  .customer-page .setup-keys::before { display: none; }
  .customer-page :is(#setup-account, #phone-setup, #first-press) { grid-column: 1; grid-row: auto; }
  .customer-page .setup-keys > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 26px; align-items: start; }
  .customer-page .setup-keys .step-key { width: 76px; margin: 0; }
  .customer-page .setup-keys > li:not(:last-child)::after { content: ""; position: absolute; left: 38px; top: 84px; bottom: -44px; width: 1px; background: var(--moard-hairline); }
  .customer-page .get-moard .setup-voice { width: min(100%, 720px); grid-template-columns: 76px minmax(0, 1fr); gap: 0 26px; }
  .customer-page .setup-voice .step-key { width: 76px; }
}
.account-page.customer-page :is(.setup-keys, .setup-voice) p { line-height: 1.85; }
.account-page.customer-page :is(.setup-keys, .setup-voice) p:not(.step-note) strong { padding: 1px 7px; border: 1px solid var(--moard-hairline); border-bottom-width: 2px; border-radius: 5px; background: var(--moard-surface-high); white-space: nowrap; }

/* Pricing's heading is the board's legend, as on Home (launch.css): on the
   top edge of Moard Plus's corners, between them. */
@media (min-width: 760px) {
  .account-page.customer-page .pricing > h1 { position: relative; z-index: 2; margin-bottom: calc(22px - .55em); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
  .customer-page .pricing > .plan-board { margin-top: 0; }
}

/* ── Pricing ────────────────────────────────────────────────────────────
   Under the board: what renewing means and what app buttons need, then the
   one key. */
.customer-page .pricing-next { margin-top: 64px; }
.customer-page .pricing-next > p:not(.account-note) { color: var(--moard-ink); font-size: 16px; }
.customer-page .pricing-next > .account-note { max-width: 58ch; font-size: 13px; }
.customer-page .pricing-details { margin-top: 88px; }
