.account-page [hidden] { display: none !important; }
/* The hosted setup uses the existing account controls in either site shell. */
[data-access-page] { max-width: 620px; margin-inline: auto; }
[data-access-page] button, [data-access-page] select { min-height: 48px; padding: 12px 14px; border: 1px solid var(--moard-hairline); border-radius: 8px; background: var(--moard-surface-high); color: var(--moard-ink); font: inherit; text-align: left; }
[data-access-page] select { width: 100%; max-width: 100%; }
[data-access-page] button { cursor: pointer; }
[data-access-page] button[type="submit"] { background: var(--moard-intent); border-color: var(--moard-intent); color: var(--moard-ground-sunk); font-weight: 700; text-align: center; }
[data-access-page] label:has(input[type="checkbox"]) { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; min-height: 44px; line-height: 1.5; cursor: pointer; }
[data-access-page] input[type="checkbox"] { width: 20px; min-height: 20px; height: 20px; padding: 0; margin: 2px 0 0; accent-color: var(--moard-intent); }
[data-access-page] :is(select, summary):focus-visible { outline: var(--moard-stroke-focus) solid var(--moard-focus); outline-offset: 3px; }
[data-access-page] summary { min-height: 48px; padding-block: 14px; cursor: pointer; }
[data-access-page] #access-decisions { display: block; }
[data-access-page] #access-decisions dt { padding: 16px 0 4px; font: inherit; color: var(--moard-ink); }
[data-access-page] #access-decisions dd { margin: 0; padding: 0 0 16px; border-bottom: 1px solid var(--moard-hairline); font: inherit; color: var(--moard-ink-dim); }
[data-access-page] #access-error { padding: 12px 14px; border-left: 3px solid var(--moard-intent); background: var(--moard-surface-high); }
.account-page .plan-change { display: grid; gap: var(--moard-space-sm); margin-block: var(--moard-space-md); }
.account-page .plan-change__body { display: grid; gap: var(--moard-space-sm); }
.account-page .plan-change__choices { display: flex; flex-wrap: wrap; align-items: center; gap: var(--moard-space-sm); }
.account-page .plan-change select { max-width: 100%; font: inherit; color: var(--moard-ink); background: var(--moard-ground);
  border: var(--moard-stroke) solid var(--moard-hairline); padding: var(--moard-space-sm); }
.account-page .plan-change__quote { margin-top: 8px; }
.account-page .plan-change__target { color: var(--moard-ink); margin: 0 0 12px; }
.plan-change__amounts { margin: 0; font-variant-numeric: tabular-nums; }
.plan-change__amounts > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding: 8px 0; }
.plan-change__amounts dt, .plan-change__amounts dd { padding: 0; margin: 0; font: inherit; }
.plan-change__amounts dt { color: var(--moard-ink-dim); }
.plan-change__amounts dd { color: var(--moard-ink); }
.plan-change__amounts .plan-change__total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--moard-hairline); }
.plan-change__amounts .plan-change__total dt { color: var(--moard-ink); font-weight: 650; }
.plan-change__amounts .plan-change__total dd { font-size: 22px; font-weight: 700; }
.account-page .plan-change__schedule { margin-bottom: 0; }
.account-page .plan-change__announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.account-page .skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; padding: 0; }
.account-page .site-header { position: static; }
/* Under a static header the stage stands on the page's own ground: no seam. */
.launch.account-page .status-stage, .launch.account-page .status-stage .stage-say,
.launch.help-page .status-stage, .launch.help-page .status-stage .stage-say { background: var(--moard-ground); }
.account-page main { min-height: calc(100svh - 210px); padding: 24px 24px 64px; }
.account-page .account-shell { max-width: 470px; padding: 0; margin: 12px auto; }
/* One heading scale for every account and customer page: the page title
   always outranks its sections, at the weight the rest of the site uses. */
.account-page h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; margin: 12px 0 18px; }
.account-page h2 { font-size: 22px; margin-top: 28px; }
.account-page p { font-size: 16px; line-height: 1.6; color: var(--moard-ink-dim); }
.account-intro { padding-bottom: 24px; border-bottom: 1px solid var(--moard-hairline); }
.account-content { padding-top: 20px; min-height: 290px; }
.account-page form { display: grid; gap: 14px; }
.account-page form > p { margin-block: 0; }
.account-page #account-status { min-height: 24px; margin: 0 0 8px; font-size: 14px; }
.account-page label { font-size: 14px; font-weight: 650; margin-top: 10px; }
.account-page input { width: 100%; min-height: 56px; padding: 12px 16px; border: 1px solid var(--moard-hairline); border-radius: 10px; color: var(--moard-ink); background: var(--moard-surface-high); font: inherit; font-size: 18px; }
.account-page #account-code { font-size: 28px; letter-spacing: .28em; }
.account-page input:focus-visible, .account-page button:focus-visible, .account-page a:focus-visible { outline: var(--moard-stroke-focus) solid var(--moard-focus); outline-offset: 3px; }
.account-page .account-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 14px 18px; border: 1px solid var(--moard-intent); border-radius: 10px; background: var(--moard-intent); color: var(--moard-ground-sunk); font: inherit; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; margin-top: 12px; }
.account-page button:disabled { opacity: .6; cursor: default; }
.account-page .account-note, .account-page .account-footnote { font-size: 13px; line-height: 1.6; }
.account-page .account-footnote { border-top: 1px solid var(--moard-hairline); padding-top: 24px; margin-top: 28px; }
.account-secondary { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.account-secondary button, .account-page .account-link { border: 0; background: none; color: var(--moard-ink-dim); font: inherit; font-size: 14px; min-height: 44px; padding: 12px 0; cursor: pointer; display: inline-flex; align-items: center; margin-right: 24px; }
.account-page .account-label { font-size: var(--moard-text-body); margin-bottom: 4px; }
.account-page .account-identity { color: var(--moard-ink); font-size: 18px; overflow-wrap: anywhere; margin-top: 0; }
.account-page .account-plan { margin: 24px 0 4px; color: var(--moard-ink); font-size: 25px; font-weight: 700; line-height: 1.25; }
.account-page .account-plan + #access-summary { margin-top: 8px; }
/* Stopping a renewal is a real button beside the membership it stops, never a
   footnote: as easy to find as the purchase it reverses. */
.account-page .account-renewal { margin-top: 24px; padding-top: 4px; border-top: 1px solid var(--moard-hairline); }
.account-renewal h2 { margin: 20px 0 0; font-size: 18px; }
.account-page .account-renewal p { margin-top: 8px; }
.renewal-actions { display: grid; gap: 10px; margin-block: 18px 12px; }
.account-page .renewal-actions button { margin: 0; }
.account-page .account-secondary-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 12px; padding: 14px 18px; border: 1px solid var(--moard-hairline); border-radius: 10px; background: none; color: var(--moard-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.account-page .account-secondary-action:hover:not(:disabled) { border-color: var(--moard-ink-dim); }
.account-page .renewal-problem { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--moard-intent); background: var(--moard-surface-high); color: var(--moard-ink); }
.extra-pc-list { list-style: none; margin: 4px 0 0; padding: 0; }
.extra-pc-list li { padding: 12px 0; border-bottom: 1px solid var(--moard-hairline); }
.account-page .extra-pc-name { margin: 0; overflow-wrap: anywhere; color: var(--moard-ink); font-weight: 650; }
.account-page .extra-pc-list .account-note { margin-top: 4px; }
.account-page .extra-pc-list .account-link { padding-block: 8px; }
/* A text button reads as pressable the way a text link does. */
.account-page button.account-link { text-decoration: underline; text-underline-offset: 3px; }
/* Talk: one state said once, its one action under it. The trial offer reads
   as the line after the membership it would change. */
.account-page #trial-offer { margin-top: 8px; }
.account-page .talk-state p { margin: 8px 0 0; color: var(--moard-ink); }
.account-page .talk-state:focus { outline: none; }
/* Plus is full: the state in ink where the page would point at Plus, and the quiet way to be
   told (or to stop) right under it, never a second full-width button beside the page's own. */
.account-page .plus-batch { margin-top: 8px; }
.account-page .plus-batch #plus-state { margin: 0; color: var(--moard-ink); }
.account-page .plus-batch #plus-state:focus { outline: none; }
.account-page .plus-batch #plus-notify { margin-right: 0; padding-block: 8px 12px; }
.account-page .talk-moved-up { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--moard-intent); background: var(--moard-surface-high); color: var(--moard-ink); }
.account-page .talk-inviting > .account-secondary-action { margin-top: 18px; }
/* The link the person sends themselves, then their own ways to send it. */
.talk-invite { display: grid; gap: 10px; margin-top: 18px; }
.account-page #talk-invite-link { min-height: 48px; padding: 10px 12px; font-size: 14px; color: var(--moard-ink-dim); }
.talk-send { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; }
.account-page .talk-send .account-secondary-action { min-height: 48px; margin: 0; padding: 10px 12px; }
.account-page .talk-invite #talk-invite-status { margin: 0; min-height: 1.6em; }
/* Talk's own page: opening Moard on the PC comes first, before any sign-in. */
.account-page .talk-open { margin: 18px 0 0; }
.account-page .invite-claim { margin-bottom: 18px; }
.account-page .deletion-alternative { margin-top: 16px; }
.pay-terms { margin-bottom: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--moard-hairline); }
.account-page .pay-terms > p:first-child { margin-top: 0; color: var(--moard-ink); }
.account-page .payment-shell { max-width: 520px; }
.payment-shell .account-intro { padding-bottom: 8px; border: 0; text-align: center; }
.payment-shell .account-content { text-align: center; }
.payment-shell .account-content .account-link { margin-inline: 12px; }
.payment-shell .account-content { padding-top: 12px; min-height: 0; }
.account-page #payment-order-name { margin: 0; font-size: 20px; }
.account-page .payment-amount { margin: 12px 0 8px; color: var(--moard-ink); font-size: clamp(28px, 5vw, 34px); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.payment-shell #payment-order-renewal { margin-top: 0; }
.payment-shell .account-primary { background: var(--moard-ink); border-color: var(--moard-ink); color: var(--moard-ground); }
.payment-shell #payment-status:empty { display: none; }
.pay-prices { display: block; margin: 12px 0 0; }
.pay-prices > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--moard-hairline); }
.pay-prices dt, .pay-prices dd { padding: 0; border: 0; font-family: inherit; font-size: 15px; }
.pay-prices dt { color: var(--moard-ink); font-weight: 650; }
.pay-prices dd { color: var(--moard-ink-dim); text-align: right; }
.deletion-alternative a { color: var(--moard-ink); }
.account-page #account-error { margin: 0 0 16px; padding: 14px; border-left: 3px solid var(--moard-intent); background: var(--moard-surface-high); color: var(--moard-ink); }
/* Paused sign-ins are a state of the account, said the way the site says a message. */
.account-page #sign-in-pause-words { margin: 14px 0 0; padding: 12px 14px; border-left: 3px solid var(--moard-intent); background: var(--moard-surface-high); color: var(--moard-ink); }
/* ── Get Moard ──────────────────────────────────────────────────────────
   The product first: the PC and phone as captured. Then the way through,
   drawn as Moard's own keys on one hairline; the path forks under the phone
   for voice. No step numbers: the keys are the sequence. */
.get-moard, .pricing { max-width: 1120px; margin: 8px auto 40px; }
.get-moard__lead, .pricing > h1 { text-align: center; }
.account-page .get-moard h1, .account-page .pricing h1 { margin: 0 auto; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; text-wrap: balance; }
.account-page .get-moard__lead > p { max-width: 50ch; margin: 14px auto 0; font-size: 18px; }
.get-moard__lead a:not(.account-primary) { color: var(--moard-ink); text-underline-offset: 4px; }
.account-page .get-moard__lead .availability-note { max-width: 46ch; margin: 22px auto 0; padding: 0; border: 0; text-align: center; }
.account-page .journey-action { max-width: 300px; margin: 18px auto 0; }
.get-moard__product { position: relative; width: min(100%, 820px); margin: 52px auto 0; padding-right: 17%; }
.product-pc { display: block; width: 100%; height: auto; border: 1px solid var(--moard-hairline); border-radius: 10px; }
.product-phone { position: absolute; right: 0; bottom: -18%; width: 24%; height: auto; border: 1px solid var(--moard-hairline);
  border-radius: 16px; box-shadow: 0 24px 60px var(--moard-ground-sunk); }
/* The phone hangs below the PC's picture, so the caption stands under the PC,
   level with the phone's foot, and the pair keeps its measured overlap. */
.get-moard__product figcaption { position: absolute; left: 0; top: calc(100% + 14px); max-width: 60%; color: var(--moard-ink-dim); font-size: 13px; line-height: 1.5; }
.setup-keys { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px;
  margin: 104px 0 0; padding: 0; list-style: none; }
/* One hairline through the three keys in a row, as the PC's first screen
   joins its keys; it ends at the last key's centre. */
.setup-keys::before { content: ""; position: absolute; top: 44px; left: 44px; right: calc((100% - 96px) / 3 - 44px);
  height: 1px; background: var(--moard-hairline); }
.setup-keys > li { position: relative; min-width: 0; }
#setup-account { grid-column: 1; grid-row: 1; }
#phone-setup { grid-column: 2; grid-row: 1; }
#first-press { grid-column: 3; grid-row: 1; }
/* The path ends at the first press. Under it stands what is optional: the
   Plus trial, as every page says it, then voice on the PC, which follows the
   account's plan. Neither is a step, so neither sits on the hairline. */
.get-moard .plus-trial { margin-top: 72px; }
.get-moard .setup-voice { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 0 24px; align-items: start;
  width: min(100%, 760px); margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--moard-hairline); }
.setup-voice .step-key { margin: 0; }
.step-key { position: relative; display: block; width: 88px; height: auto; margin: 0 0 16px; }
.account-page :is(.setup-keys, .setup-voice) h2 { margin: 0; font-size: 20px; }
.account-page :is(.setup-keys, .setup-voice) p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.account-page :is(.setup-keys, .setup-voice) strong { color: var(--moard-ink); font-weight: 650; }
.account-page :is(.setup-keys, .setup-voice) .step-note { color: var(--moard-ink-dim); font-size: 13px; }
:is(.setup-keys, .setup-voice) a { color: var(--moard-ink); }
.get-moard__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 28px; margin: 56px 0 0; }
.account-page .get-moard__more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--moard-ink-dim); font-size: 14px; }
.account-page .availability-note { font-size: 14px; border-left: 2px solid var(--moard-hairline); padding-left: 16px; }
.availability-note a { color: var(--moard-ink); }
.phone-store-options { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.account-page .phone-store-options p { margin: 0; flex-basis: 100%; }
/* The phone apps are keys, with the lower edge every Moard key has. */
.phone-store-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid var(--moard-hairline); border-bottom: 3px solid var(--moard-ink-dim); border-radius: 8px; background: var(--moard-surface); color: var(--moard-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.phone-store-link:hover { border-color: var(--moard-intent); color: var(--moard-intent); }

/* ── Pricing ────────────────────────────────────────────────────────────
   The comparison is the plan board, drawn in launch.css because Home shows
   the same one. Under it: the one action, the optional trial, the details. */
.pricing-next { margin-top: 48px; text-align: center; }
.account-page .pricing-next > p { max-width: 60ch; margin-inline: auto; }
/* Short centred lines break evenly, never leaving "keep Moard." on its own. */
.account-page .pricing-next > p { text-wrap: balance; }
.account-page .pricing-next .journey-action { margin: 18px auto 0; }
.pricing-details { max-width: 820px; margin: 64px auto 0; }
.account-page .pricing-details h2 { margin: 0 0 10px; font-size: 20px; }
.pricing-details dl { display: block; margin: 0; }
.pricing-details dl > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 14px 0; border-top: 1px solid var(--moard-hairline); }
.pricing-details dt, .pricing-details dd { padding: 0; border: 0; font-family: inherit; text-align: left; }
.pricing-details dt { color: var(--moard-ink); font-size: 15px; font-weight: 650; }
.pricing-details dd { margin: 0; color: var(--moard-ink-dim); font-size: 15px; line-height: 1.6; }
.pricing-details dd strong { color: var(--moard-ink); font-weight: 650; }
.org-line { display: block; }
.org-line + .org-line { margin-top: 6px; }
@media (max-width: 759px) {
  .get-moard__product { margin-top: 36px; padding-right: 14%; }
  .product-phone { width: 30%; bottom: -12%; border-radius: 10px; }
  .setup-keys { grid-template-columns: 1fr; gap: 30px; margin-top: 72px; }
  #setup-account, #phone-setup, #first-press { grid-column: 1; grid-row: auto; }
  .get-moard .plus-trial { margin-top: 48px; }
  .get-moard .setup-voice { width: auto; margin-top: 36px; padding-top: 30px; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .product-phone { bottom: -22%; }
  .setup-keys > li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }
  .step-key { width: 56px; margin: 0; }
  .setup-keys::before { display: none; }
  .setup-keys > li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 60px; bottom: -28px; width: 1px; background: var(--moard-hairline); }
  .pricing-details dl > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) { .account-page main { padding-inline: 16px; } .account-page .account-shell { margin-top: 12px; } }
/* Account deletion (Google Play's Delete account link): the sign-in panel, then
   the two choices at equal weight, then what goes and what stays. */
.account-page .deletion-shell { max-width: 600px; }
/* The page's title centred over its one question; the address in the logo's
   corners with its send key, as on sign-in; what deletion does, open below. */
.deletion-shell > .account-intro { text-align: center; }
.deletion-shell > .account-intro p { max-width: 48ch; margin-inline: auto; text-wrap: balance; }
.deletion-flow > #account-title, .deletion-flow > #account-description { text-align: center; }
.account-page .deletion-shell #email-form { display: block; margin-top: 18px; }
.account-page .deletion-shell .send-key { min-height: 48px; margin: 0; padding: 12px 22px; border: 1px solid var(--moard-intent); border-bottom: 4px solid var(--moard-intent-deep); border-radius: 8px; background: var(--moard-intent); color: var(--moard-ground-sunk); font: 750 15px var(--site-font); white-space: nowrap; cursor: pointer; }
.account-page .deletion-shell .address-frame #account-email { min-height: 36px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.account-page .deletion-shell .address-frame #account-email:focus-visible { outline: none; }
.account-page .deletion-shell #account-error { margin: 14px 0 0; padding: 0; border: 0; background: none; color: var(--moard-ink); text-align: center; }
.account-page .deletion-shell .account-identity-line { margin: 0 0 4px; color: var(--moard-ink-dim); font-size: 14px; overflow-wrap: anywhere; }
.account-page .deletion-shell .account-identity-line .account-identity { color: var(--moard-ink); font-size: 17px; }
.account-page .deletion-shell #account-title:focus { outline: none; }
.deletion-flow h2 { margin: 0 0 8px; font-size: 22px; }
.deletion-flow h2:focus { outline: none; }
.deletion-flow h2:focus-visible { outline: var(--moard-stroke-focus) solid var(--moard-focus); outline-offset: 3px; }
.deletion-flow #account-description { margin: 0 0 12px; }
.deletion-consequences { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--moard-hairline); }
.deletion-consequences li { padding: 12px 0; border-bottom: 1px solid var(--moard-hairline); color: var(--moard-ink); line-height: 1.5; }
.deletion-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.account-page .deletion-keep, .account-page .deletion-confirm { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 18px; border-radius: 10px; background: none; font: inherit; font-size: 16px; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; }
.account-page .deletion-keep { border: 1px solid var(--moard-hairline); color: var(--moard-ink); }
.account-page .deletion-keep:hover { border-color: var(--moard-ink-dim); }
.account-page .deletion-keep[aria-disabled="true"] { pointer-events: none; opacity: .6; }
.account-page .deletion-confirm { border: 1px solid var(--moard-alert); color: var(--moard-alert); }
.account-page .deletion-confirm:hover:not(:disabled) { background: var(--moard-alert-deep); color: var(--moard-ink); }
.deletion-facts { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--moard-hairline); }
.deletion-facts h2 { font-size: 20px; margin: 28px 0 4px; }
.deletion-facts dl { display: block; margin: 0; }
.deletion-facts dt, .deletion-facts dd { padding: 0; border: 0; text-align: left; font-family: inherit; }
.deletion-facts dl > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--moard-hairline); }
.deletion-facts dt { font-weight: 650; font-size: 15px; color: var(--moard-ink); }
.deletion-facts dd { margin: 0; color: var(--moard-ink-dim); line-height: 1.6; }
.deletion-facts strong { color: var(--moard-ink); }
.deletion-facts p a, .deletion-facts .account-note a { color: var(--moard-ink); }
.deletion-facts > summary { color: var(--moard-ink); cursor: pointer; font-weight: 650; line-height: 1.5; padding-block: 12px; }
.deletion-facts > summary:focus-visible { outline: var(--moard-stroke-focus) solid var(--moard-focus); outline-offset: 3px; }
@media (max-width: 599px) {
  .deletion-actions { grid-template-columns: 1fr; }
  .deletion-facts dl > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Sign-in: the PC's first screen, on the web ──────────────────────────
   Moard's rendered keys (`key_art.py`) round one dark plate, joined by
   hairlines, the way the PC draws its first connection. The keys are
   decoration, hidden from the tree; the plate holds every sign-in state. */
.account-page .sign-in-stage { --key: clamp(76px, 7.4vw, 112px); --edge: 3%; --top: 28px; --bottom: 28px;
  position: relative; max-width: 1240px; margin: 0 auto; padding: calc(var(--key) + 64px) 0;
  /* The plate's top is fixed where a typical plate (about 600 points) sits
     centred, and the field holds at least that plate and fills the window
     below the header. So the plate opens from "Checking your sign-in…" in
     place: an answer of any length grows or ends below a top that stays put,
     the keys round it stay where they were drawn, and the footer starts
     below the fold. */
  display: grid; justify-items: center; align-items: start;
  padding-top: max(calc(var(--key) + 64px), calc((100svh - 188px - 600px) / 2));
  min-height: max(calc(100svh - 188px), calc(2 * (var(--key) + 64px) + 620px)); }
.key-field { position: absolute; inset: 0; pointer-events: none; }
.field-key { position: absolute; width: var(--key); height: auto; }
.field-key--pointer { left: var(--edge); top: var(--top); }
.field-key--keys { right: var(--edge); top: calc(var(--top) - 8px); }
.field-key--keyboard { left: calc(var(--edge) - 1%); bottom: var(--bottom); }
.field-key--voice { right: var(--edge); bottom: calc(var(--bottom) + 4px); }
.key-field__line, .key-field__spine { position: absolute; background: var(--moard-hairline); }
.key-field__line { height: 1px; left: calc(var(--edge) + var(--key) * .8); right: calc(var(--edge) + var(--key) * .8); }
.key-field__line--top { top: calc(var(--top) + var(--key) * .42); }
.key-field__line--bottom { bottom: calc(var(--bottom) + var(--key) * .5); }
.key-field__spine { width: 1px; left: 50%; }
.key-field__spine--top { top: calc(var(--top) + var(--key) * .42); bottom: 50%; }
.key-field__spine--bottom { top: 50%; bottom: calc(var(--bottom) + var(--key) * .5); }
/* One width for every state: the plate never resizes from "Checking your
   sign-in…" to the email, the code, an approval or the account, and its
   reading column holds about sixty characters. */
.sign-in-plate { position: relative; z-index: 1; width: min(100%, 480px); padding: 36px 32px 26px;
  border: 1px solid var(--moard-hairline); background: var(--moard-ground-sunk); text-align: center; }
/* Signed in, the plate holds a membership and its renewal: read left. */
.sign-in-plate:has(#signed-in:not([hidden])) { text-align: left; }
.sign-in-stage .account-intro { padding: 0; border: 0; }
/* The mark and the title stay centred in every state, so the plate's head
   never jumps sideways; what is read below them reads left. */
.sign-in-plate:has(#signed-in:not([hidden])) .account-intro { text-align: center; }
.account-page .sign-in-stage .account-intro h1 { margin: 0; color: var(--moard-ink); font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 650; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.account-page .sign-in-stage #account-description { margin: 10px 0 0; }
.account-page .sign-in-stage .account-content { min-height: 0; padding-top: 22px; }
.sign-in-stage form, .sign-in-stage #account-unavailable { text-align: left; }
.account-page .sign-in-stage label { display: block; margin: 0 0 6px; color: var(--moard-ink-dim); font-size: 13px; font-weight: 600; }
.account-page .sign-in-stage #account-email { min-height: 52px; border-color: var(--moard-hairline); background: var(--moard-ground); }
/* The PC's first screen leads with the light key, not the accent bar. */
.account-page .sign-in-stage .account-primary { border-color: var(--moard-ink); background: var(--moard-ink); color: var(--moard-ground); }
.account-page .sign-in-stage .account-primary:hover { border-color: var(--moard-intent); background: var(--moard-intent); }
.account-page .sign-in-stage #code-destination { margin: 0 0 16px; text-align: center; }
.sign-in-stage #code-form label, .sign-in-stage #code-hint { text-align: center; }
.account-page .sign-in-stage #account-status:empty { min-height: 0; margin: 0; }
.account-page .sign-in-stage .account-secondary { margin-top: 4px; }
.account-page #account-unavailable:not([hidden]) { display: grid; justify-items: center; }
.account-page #account-unavailable .account-primary { width: fit-content; min-width: 200px; border-bottom: 4px solid var(--moard-ink-dim); border-radius: 8px; }
.account-page #account-unavailable .stage-routes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 26px; margin: 10px 0 0; }
.account-page #account-unavailable .account-link { margin: 0; }
.account-page a.account-secondary-action { text-align: center; text-decoration: none; text-wrap: balance; }
/* "No email?" belongs to the sentence that said to check for one. */
.account-page .sign-in-stage #code-destination:has(+ #code-setup:not([hidden])) { margin-bottom: 0; }
.account-page .sign-in-stage #code-setup { margin: -4px 0 12px; text-align: center; text-wrap: balance; }
.account-page .sign-in-stage .account-footnote { margin-top: 22px; padding-top: 16px; font-size: 13px; text-align: center; }
.sign-in-plate:has(#signed-in:not([hidden])) .account-footnote { display: none; }
/* While the page asks who is signed in, the plate says only that, under the
   mark. Its title and trial note belong to an answer it does not have yet:
   shown first, a person approving their PC read "Sign in or create your Moard
   account" before it turned into the approval. The title's place is kept, so
   what the answer draws below it does not move. Without scripts the page
   keeps both. */
@media (scripting: enabled) {
  .sign-in-plate:not(:has(:is(#email-form, #code-form, #signed-in, #account-unavailable):not([hidden]))) .account-intro { visibility: hidden; }
  .sign-in-plate:not(:has(:is(#email-form, #code-form, #signed-in, #account-unavailable):not([hidden]))) .account-footnote { display: none; }
  /* It keeps the height of the plate most arrivals get (the email form, about
     580 points wide-screen), so that answer fills a plate already drawn. */
  .sign-in-plate:not(:has(:is(#email-form, #code-form, #signed-in, #account-unavailable):not([hidden]))) { min-height: 580px; }
  .account-page .sign-in-plate:not(:has(:is(#email-form, #code-form, #signed-in, #account-unavailable):not([hidden]))) #account-status { min-height: 26px; margin: 0; }
}
@media (max-width: 759px) {
  .account-page .sign-in-stage { display: block; min-height: calc(100svh - 100px); padding: 4px 0 24px; }
  .key-field { position: relative; inset: auto; display: flex; justify-content: center; gap: 2px; margin: 0 auto 18px; }
  .field-key, .field-key--voice { position: relative; inset: auto; display: block; width: 58px; }
  .key-field__line--top { top: 50%; left: 12%; right: 12%; }
  .key-field__line--bottom, .key-field__spine { display: none; }
  .sign-in-plate, .sign-in-plate:has(#signed-in:not([hidden])) { width: 100%; padding: 28px 20px 22px; }
}

/* ── The code, as six keys ───────────────────────────────────────────────
   The sign-in email draws the code as six raised keys in the keyboard bed;
   the field fills the same keys. One real input lies over them, so paste,
   one-time-code autofill and screen readers are unchanged. Without the
   script the plain field shows. */
.code-keys { --cap: clamp(38px, 10.5vw, 50px); position: relative; display: flex; justify-content: center; }
.code-keys__caps { display: none; }
.code-keys.is-live .code-keys__caps { display: grid; grid-template-columns: repeat(6, var(--cap)); gap: 6px; padding: 9px 8px;
  border-radius: calc(var(--moard-skin-radius) + 3px); background: var(--moard-skin-background); }
.code-keys__caps > span { position: relative; display: grid; place-items: center; height: calc(var(--cap) * 1.25);
  border: 1px solid var(--moard-hairline); border-radius: var(--moard-skin-radius); background: var(--moard-ground-sunk);
  color: var(--moard-skin-ink); font: 750 clamp(22px, 6vw, 27px) var(--site-font); }
.code-keys__caps > span[data-state="raised"] { border-color: var(--moard-skin-border);
  background: linear-gradient(180deg, color-mix(in srgb, var(--moard-skin-fill), var(--moard-skin-ink) 9%) 0%, var(--moard-skin-fill) 100%); }
.code-keys.is-live:focus-within .code-keys__caps > span[data-state="next"]::after { content: ""; position: absolute;
  left: calc(50% - 7px); bottom: 8px; width: 14px; height: 2px; background: var(--moard-skin-accent); }
.account-page .code-keys.is-live input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; min-height: 0; padding: 0;
  border: 0; background: transparent; color: transparent; caret-color: transparent; font-size: 16px; letter-spacing: 0; cursor: text; }
.account-page .code-keys.is-live input:focus-visible { outline: none; }
.code-keys.is-live input::selection { background: transparent; }
.code-keys.is-live:focus-within .code-keys__caps { outline: var(--moard-stroke-focus) solid var(--moard-focus); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .code-keys__caps > span { transition: background 120ms, border-color 120ms; } }

/* Paddle's inline layout is blocked by our self-only style policy. */
.account-page > iframe.paddle-frame-overlay { display: none; }
.account-page.payment-checkout-open > iframe.paddle-frame-overlay {
  display: block; position: fixed; inset: 0; width: 100%; height: 100%;
  border: 0; margin: 0; padding: 0; z-index: 2147483647;
}

/* ── Your account, signed in (design pass, 14 November) ────────────────────
   The membership is a reading, as Moard on the PC draws it in Settings ›
   Account: held in the logo's four corners, its plan, its days as keys lit
   for the days left, its sentence, and what a trial would add. Talk's place
   is one sentence in ink under it, with its one press the size of a key;
   an invite link Moard made sits in the corners too. Who is signed in, and
   the account's security, are one quiet close. No card round any of it. */
.sign-in-plate:has(#signed-in:not([hidden])) { text-align: center; }
/* "Your account" says nothing the reading doesn't: it stays for screen readers. */
.account-intro[data-quiet] h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#signed-in:not([hidden]) { display: flex; flex-direction: column; }
#signed-in > .account-identity-line { order: 10; text-align: center; }
#signed-in > #sign-out { order: 11; align-self: center; }
#signed-in > #account-security { order: 12; align-self: center; text-align: left; }
.account-page #signed-in > .account-identity-line { margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--moard-hairline); color: var(--moard-ink-dim); font-size: 14px; overflow-wrap: anywhere; }
.account-page #signed-in .account-identity-line .account-identity { color: var(--moard-ink); font-size: 15px; }
/* Quiet links centre on the page's axis: no trailing gap. */
.account-page #signed-in .account-link { margin-right: 0; }
#signed-in #account-summary { display: flex; flex-direction: column; align-items: center; text-align: center; }
#signed-in .account-reading { position: relative; display: grid; justify-items: center; gap: 10px; width: 100%; margin: 6px 0 0; padding: 28px 30px 26px; }
#signed-in .account-reading:not(:has(> :not([hidden]))) { display: none; }
#signed-in .account-reading::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--moard-intent); border-radius: 10px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, var(--moard-ink) 24px, transparent 24px calc(100% - 24px), var(--moard-ink) calc(100% - 24px)), linear-gradient(to bottom, var(--moard-ink) 24px, transparent 24px calc(100% - 24px), var(--moard-ink) calc(100% - 24px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, var(--moard-ink) 24px, transparent 24px calc(100% - 24px), var(--moard-ink) calc(100% - 24px)), linear-gradient(to bottom, var(--moard-ink) 24px, transparent 24px calc(100% - 24px), var(--moard-ink) calc(100% - 24px));
  mask-composite: intersect; }
.account-page #signed-in .account-reading .account-plan { margin: 0; color: var(--moard-ink); font-size: 21px; font-weight: 700; }
.account-page #signed-in .account-reading #access-summary { margin: 0; max-width: 40ch; color: var(--moard-ink); font-size: 16px; text-wrap: balance; }
.account-page #signed-in .account-reading #trial-offer { margin: 4px 0 0; max-width: 44ch; color: var(--moard-ink-dim); font-size: 14px; text-wrap: balance; }
.account-page #signed-in .account-reading .plus-batch { display: grid; justify-items: center; margin-top: 6px; }
#signed-in .account-reading[data-alert]::before { border-color: var(--moard-alert); }
.account-page #signed-in .account-reading #renewal { display: grid; justify-items: center; width: 100%; margin: 4px 0 0; padding: 0; border: 0; }
#signed-in .account-reading #renewal-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.account-page #signed-in .account-reading #renewal-summary { margin: 0; max-width: 40ch; color: var(--moard-ink-dim); font-size: 14px; text-wrap: balance; }
#signed-in .account-reading .renewal-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; margin: 14px 0 0; }
.account-page #signed-in .account-reading :is(#manage-renewal, #see-plans),
.account-page #signed-in > #account-summary > :is(#check-membership) { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-width: 200px; min-height: 48px; margin: 0; padding: 12px 24px; border: 1px solid var(--moard-hairline); border-bottom-width: 3px; border-radius: 8px; background: none; color: var(--moard-ink); font: 700 15px var(--site-font); text-decoration: none; cursor: pointer; }
.account-page #signed-in .account-reading #manage-renewal.account-primary { border-color: var(--moard-alert); background: var(--moard-alert); color: var(--moard-ground-sunk); }
.account-page #signed-in .account-reading #see-plans { margin-top: 10px; }
.account-page #signed-in .account-reading #cancel-renewal { min-height: 44px; padding: 0; }
.account-page #signed-in .account-reading #renewal-provider { margin: 8px 0 0; }
.account-page #signed-in > #account-summary > #check-membership { margin-top: 18px; border-color: var(--moard-ink); background: var(--moard-ink); color: var(--moard-ground); }
.trial-days { display: flex; gap: 6px; margin: 2px 0 4px; }
.trial-days[hidden] { display: none; }
.trial-days > span { width: 26px; height: 6px; border-radius: 2px; background: var(--moard-hairline); }
.trial-days > span[data-lit="true"] { background: var(--moard-intent); }

/* Talk: its sentence says which Talk it is, so the section's name is for
   screen readers; the state in ink, its one press key-sized under it. */
#signed-in #talk { width: 100%; margin-top: 22px; padding-top: 0; border-top: 0; }
#signed-in #talk > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.account-page #signed-in .talk-state p { margin: 0; color: var(--moard-ink); font-size: 17px; text-wrap: balance; }
#signed-in #talk .renewal-actions { justify-items: center; margin-block: 16px 4px; }
#signed-in #talk .renewal-actions .account-secondary-action:not([hidden]),
#signed-in #talk #talk-invite:not([hidden]) { width: fit-content; min-width: 240px; padding-inline: 24px; border-bottom-width: 3px; border-radius: 8px; }
#signed-in .talk-inviting { display: grid; justify-items: center; }
.account-page #signed-in .talk-moved-up { margin: 12px 0 0; padding: 0; border: 0; background: none; color: var(--moard-intent); font-weight: 650; }
/* The link Moard made for you, inside the logo's corners; your own ways to send it under it. */
#signed-in .talk-invite { width: 100%; }
#signed-in .talk-invite > #talk-invite-link { position: relative; z-index: 0; border: 0; background: var(--moard-surface); text-align: center; color: var(--moard-ink); font: 12px var(--moard-family-mono); text-overflow: ellipsis; }
#signed-in .talk-invite { position: relative; padding-top: 10px; }
#signed-in .talk-invite::before { content: ""; position: absolute; left: -10px; right: -10px; top: 0; height: 68px; border: 2px solid var(--moard-intent); border-radius: 10px; pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, var(--moard-ink) 20px, transparent 20px calc(100% - 20px), var(--moard-ink) calc(100% - 20px)), linear-gradient(to bottom, var(--moard-ink) 20px, transparent 20px calc(100% - 20px), var(--moard-ink) calc(100% - 20px));
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, var(--moard-ink) 20px, transparent 20px calc(100% - 20px), var(--moard-ink) calc(100% - 20px)), linear-gradient(to bottom, var(--moard-ink) 20px, transparent 20px calc(100% - 20px), var(--moard-ink) calc(100% - 20px));
  mask-composite: intersect; }
#signed-in .talk-send { margin-top: 8px; }
/* The rest of the summary follows the reading and Talk, quiet and centred. */
#signed-in #account-summary > :is(#continue-setup, .account-link) { align-self: center; }
.account-page #signed-in #continue-setup.account-primary { width: fit-content; min-width: 240px; margin-top: 22px; padding-inline: 28px; border-bottom-width: 3px; border-radius: 8px; }

/* ── Companion pages (opened from the phone) ────────────────────────────
   Account and privacy: hairline rows, each row's one act at its end, in the
   site's own sizes. Setup: the same path of keys /setup draws. */
.companion-rows { width: min(100%, 760px); margin: 40px auto 64px; }
.launch .companion-rows h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.12; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.launch .companion-rows__lead { max-width: 52ch; margin: 14px auto 36px; color: var(--moard-ink-dim); font-size: 16px; line-height: 1.6; text-align: center; text-wrap: balance; }
.launch .companion-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 32px; padding: 18px 0; border-top: 1px solid var(--moard-hairline); }
.launch .companion-row:last-child { border-bottom: 1px solid var(--moard-hairline); }
.launch .companion-row h2 { margin: 0; color: var(--moard-ink); font-size: 18px; font-weight: 700; line-height: 1.3; }
.launch .companion-row p { margin: 6px 0 0; color: var(--moard-ink-dim); font-size: 15px; line-height: 1.6; }
.companion-row > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--moard-ink); font-weight: 650; text-decoration-color: var(--moard-intent); text-underline-offset: 6px; white-space: nowrap; }
.companion-row > a:hover { color: var(--moard-intent); }
.launch .companion-row:target { border-top-color: var(--moard-intent); }
.companion-setup-page .get-moard { margin-top: 40px; }
.companion-setup-page .setup-keys { margin-top: 64px; }
@media (max-width: 759px) {
  .launch .companion-row { grid-template-columns: minmax(0, 1fr); }
  .companion-row > a { justify-self: start; }
}
