/* /mobile: LanderLab's apps for iPhone and Android (src/pages/mobile.astro).
   The phone (.mp, components/mobile/Phone.astro) is sized in em, where
   1em is 10pt of a 393pt-wide phone: --mp-w is the screen's width and the
   rest follows. Inside it, containers keep 1em = 10pt and only text sets a
   font size, sizing its own box in its own em. The app's screens (.ma) are
   in the web app's look: Lato, lavender greys, #e8e8fe hairlines, flat
   brand blue (no gradients or glossy shadows, the user's ask). The lock screen is the phone's own, in
   Inter, on the hero render's clouds. The hero itself is an image
   (img/mobile/hero.webp). */

/* ---------- the phone ---------- */

.mp {
  --mp-w: 300px;
  --mo-sys: "Inter", -apple-system, "Segoe UI", sans-serif;
  --mp-metal: linear-gradient(150deg, #f6f7f9 0%, #c8cbd3 16%, #eef0f3 40%, #a9adb7 68%, #e6e8ec 100%);
  position: relative; flex: none;
  width: calc(var(--mp-w) * 41.5 / 39.3);
  padding: .32em;
  border-radius: 6.4em;
  background: var(--mp-metal);
  box-shadow:
    0 0 0 .06em rgb(24 24 34 / .16),
    inset 0 0 .1em rgb(255 255 255 / .9),
    0 4em 7em -4em rgb(20 20 30 / .28),
    0 1.2em 2.4em -1.4em rgb(20 20 30 / .24);
  font-size: calc(var(--mp-w) / 39.3);
  line-height: 1.25;
  text-align: left;
}
.mp::before, .mp::after {
  content: ""; position: absolute; width: .32em; border-radius: .2em;
  background: linear-gradient(90deg, #a9adb7, #e3e5ea);
}
.mp::before { right: -.24em; top: 22em; height: 9.5em; }
.mp::after { left: -.24em; top: 16em; height: 6em; box-shadow: 0 8.6em 0 #c3c6ce; }
.mp__body { border-radius: 6.08em; padding: .78em; background: #0b0b0d; }
.mp__screen {
  position: relative; isolation: isolate; overflow: hidden;
  height: 85.2em;
  border-radius: 5.3em;
  background: #f6f6fc;
  color: #181822;
}

.mp__status {
  position: absolute; z-index: 5; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 5.8em; padding: 0 3em 0 3.9em;
  color: #0a0a0b; pointer-events: none;
}
.mp--dark .mp__status { color: #fff; }
.mp__time { font: 600 1.7em/1 "Inter", -apple-system, sans-serif; letter-spacing: -.01em; }
.mp__island {
  position: absolute; left: 50%; top: 1.1em;
  width: 12.4em; height: 3.6em; margin-left: -6.2em;
  border-radius: 2em; background: #000;
}
.mp__sys { display: flex; align-items: center; gap: .6em; }
.mp__sys svg { height: 1.2em; width: auto; fill: currentColor; stroke: currentColor; }
.mp__sys svg:last-child { height: 1.25em; }
.mp__sys svg:last-child rect:first-child { fill: none; opacity: .4; }
.mp__bar {
  position: absolute; z-index: 5; bottom: .8em; left: 50%;
  width: 13.4em; height: .5em; margin-left: -6.7em;
  border-radius: .3em; background: rgb(10 10 11 / .82);
}
.mp--dark .mp__bar { background: rgb(255 255 255 / .85); }

/* ---------- the app ---------- */

.ma {
  --ma-ink: #181822;
  --ma-text: #4d4d5b;
  --ma-muted: #8b8b9d;
  --ma-line: #e8e8fe;
  --ma-soft: #ebebf5;
  --ma-blue: #2b5ee8;
  --ma-ok: #0b7a43;
  --ma-ok-bg: #e5f5ec;
  --ma-font: "Lato", "Inter", -apple-system, sans-serif;
  position: absolute; inset: 0;
  padding-top: 5.18em; /* the status bar, 5.8em of the phone */
  font-size: 1.12em;
  font-family: var(--ma-font);
  color: var(--ma-ink);
}
.ma .lla-i { display: block; flex: none; width: 2em; height: 2em; }
.ma .lla-mark, .mp .lla-mark {
  display: grid; place-items: center; flex: none;
  width: 2.6em; height: 2.6em; border-radius: .7em; background: #000;
}
.mp .lla-mark svg { height: 62%; width: auto; fill: #fff; }

.ma-card {
  margin: 1.4em 1.6em 0; padding: 1.5em 1.6em;
  border: 1px solid var(--ma-line); border-radius: 1.8em;
  background: #fff;
}
.ma-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.ma-card__head span { font: 700 1.3em/1.2 var(--ma-font); }
.ma-card__head span + span { font-weight: 400; color: var(--ma-muted); font-size: 1.15em; }

.ma-list { list-style: none; margin: 0 1.6em; padding: 0; border: 1px solid var(--ma-line); border-radius: 1.8em; background: #fff; overflow: hidden; }
.ma-list > li + li { border-top: 1px solid var(--ma-line); }
.ma-list > li > .ma-lead { width: 100%; }
.ma-lead {
  display: flex; align-items: center; gap: 1.1em;
  height: 5.8em; padding: 0 1.4em;
  background: #fff;
}
.ma-lead--btn {
  margin: 0; border: 0; font: inherit; color: inherit; text-align: left;
  cursor: pointer; transition: background-color .15s ease;
}
.ma-lead--btn:hover { background: #f7f7fe; }
.ma-lead--btn:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; }
.ma-av {
  display: grid; place-items: center; flex: none;
  width: 2.85em; height: 2.85em; border-radius: 50%;
  background: #eceefe; color: #4450c9;
  font: 700 1.2em/1 var(--ma-font);
}
.ma-av .lla-i { width: 1.4em; height: 1.4em; }
.is-partial > .ma-av, .is-partial .ma-av { background: #f0f0f4; color: var(--ma-muted); }
.ma-lead__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .35em; }
.ma-lead__text b { font: 700 1.45em/1.1 var(--ma-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-lead__text span { font: 400 1.2em/1.1 var(--ma-font); color: var(--ma-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ma-lead__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .45em; }
.ma-lead__meta > span:first-child { font: 400 1.15em/1 var(--ma-font); color: var(--ma-muted); }
.ma-pill {
  display: inline-flex; align-items: center; flex: none;
  height: 1.9em; padding: 0 .7em; border-radius: 1em;
  background: var(--ma-ok-bg); color: var(--ma-ok);
  font: 700 1em/1 var(--ma-font); letter-spacing: .01em;
}
.is-partial .ma-pill { background: #f0f0f4; color: #6b6f7b; }

/* ---------- the hero ---------- */

.mo-hero__copy { padding-top: 0; padding-bottom: 56px; }
.mo-hero__copy .gk-hero__title { margin-top: 0; }
.mo-hero__cta { margin-top: 32px; }
/* the render: its white is the page's paper (#fcfcfc, multiplied in when
   it was saved), so it has no edge; redo that if --paper changes */
.mo-shot {
  position: relative; z-index: 1;
  max-width: 760px; margin: -22px auto 4px; /* its own top 3% is empty paper */
  pointer-events: none;
}
.mo-shot img {
  display: block; width: 100%; height: auto;
  /* and its edges fade out, for the render's own faint haze */
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(180deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-composite: intersect;
}

/* the store badges */
.mo-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mo-store {
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 20px 0 15px;
  border-radius: 12px;
  background: #0a0a0b; color: #fff;
  transition: background-color .15s ease;
}
.mo-store svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.mo-store > span { display: flex; flex-direction: column; font: 600 17px/1.05 var(--font-ui); letter-spacing: -.01em; }
.mo-store small { font: 400 10.5px/1.25 var(--font-ui); letter-spacing: 0; opacity: .85; }
a.mo-store:hover { background: #26262c; }
a.mo-store:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mo-store.is-soon { opacity: .32; cursor: default; }
.mo-stores--light .mo-store { background: #fff; color: #0a0a0b; }
.mo-stores--light a.mo-store:hover { background: #eef1ff; }
.mo-stores--light a.mo-store:focus-visible { outline-color: #fff; }
.promo__cta .mo-stores { justify-content: flex-start; }

/* ---------- the rows ---------- */

.mo-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.mo-split.gk-split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.mo-tag {
  display: flex; align-items: center; gap: 10px;
  margin: 0;
  font: 500 15px/1 var(--font-ui); letter-spacing: -.005em; color: var(--ink-nav);
}
.mo-tag__ico {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 8px;
  background: #0a0a0b; color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14);
}
.mo-tag__ico .lla-i { width: 16px; height: 16px; stroke-width: 1.7; }
.mo-tag + .gk-copy__title { margin-top: 20px; }
.mo-hint {
  display: flex; align-items: center; gap: 8px;
  margin: 22px 0 0;
  font: 400 14px/1.4 var(--font-ui); color: var(--gk-grey);
}
.mo-hint svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.mo-art { padding: 24px; }
.mo-tray {
  display: flex; justify-content: center; align-items: flex-start;
  height: 640px; padding-top: 56px;
}
.mo-tray .mo-phone { --mp-w: 310px; }

/* Notifications: the switches beside the lock screen */
.mo-alerts { display: flex; align-items: flex-start; justify-content: center; gap: 28px; }
.mo-switches {
  flex: none; width: 224px; margin: 132px 0 0; padding: 6px 16px 12px;
  border: 1px solid var(--gk-line); border-radius: 14px;
  background: #fff;
}
.mo-switches legend {
  float: left; width: 100%; padding: 12px 0 8px;
  font: 500 12px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--gk-grey);
}
.mo-switch {
  position: relative; clear: both;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 0;
  border-top: 1px solid #f0f0f3;
  font: 500 14px/1.3 var(--font-ui); color: var(--ink-nav);
  cursor: pointer;
}
.mo-switch__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mo-switch__track {
  position: relative; flex: none;
  width: 36px; height: 22px; border-radius: 11px;
  background: #d9dbe1;
  transition: background-color .2s ease;
}
.mo-switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .2);
  transition: translate .25s cubic-bezier(.3, .8, .3, 1.2);
}
.mo-switch__input:checked + .mo-switch__track { background: var(--brand); }
.mo-switch__input:checked + .mo-switch__track::after { translate: 14px 0; }
.mo-switch__input:focus-visible + .mo-switch__track { outline: 2px solid var(--brand); outline-offset: 2px; }
.mo-switches__note { margin: 4px 0 0; padding-top: 12px; border-top: 1px solid #f0f0f3; font: 400 13px/1.45 var(--font-ui); color: var(--gk-grey); }

.ml {
  position: absolute; inset: 0;
  padding-top: 9.6em;
  background: #f4f5f9 url(/assets/img/mobile/lock-clouds.webp) center / cover no-repeat;
  color: #14151a; text-align: center;
  font-family: "Inter", -apple-system, sans-serif;
}
.ml-date { margin: 0; font: 500 1.7em/1 var(--mo-sys); opacity: .72; }
.ml-time { margin: .06em 0 0; font: 500 9.4em/1 var(--font-display); letter-spacing: -.03em; }
.ml-stack { list-style: none; margin: 4.4em 1.1em 0; padding: 0; text-align: left; }
.ml-note {
  display: grid; grid-template-rows: 1fr;
  margin-top: .8em;
  transition: grid-template-rows .45s cubic-bezier(.3, .8, .3, 1), opacity .3s ease, margin .45s cubic-bezier(.3, .8, .3, 1), scale .45s cubic-bezier(.3, .8, .3, 1);
}
.ml-note:first-child { margin-top: 0; }
.ml-note__in { min-height: 0; overflow: hidden; }
.ml-note__card {
  display: flex; align-items: center; gap: 1.1em;
  padding: 1.2em 1.4em;
  border-radius: 2.2em;
  background: rgb(255 255 255 / .74);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 0 0 1px rgb(20 20 30 / .04), 0 .4em 1.4em -.6em rgb(20 20 30 / .18);
  color: #0a0a0b;
}
.ml-note .lla-mark { width: 3.6em; height: 3.6em; border-radius: .9em; }
.ml-note__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2em; }
.ml-note__app { display: flex; justify-content: space-between; font: 500 1.1em/1.2 var(--mo-sys); text-transform: uppercase; letter-spacing: .03em; color: #5e6170; }
.ml-note__app em { font-style: normal; text-transform: none; letter-spacing: 0; }
.ml-note__text b { font: 600 1.35em/1.25 var(--mo-sys); }
.ml-note__text b + span { font: 400 1.3em/1.3 var(--mo-sys); color: #33343c; }
.ml-empty { position: absolute; left: 0; right: 0; top: 34em; margin: 0; font: 500 1.5em/1 var(--mo-sys); color: rgb(20 21 26 / .45); opacity: 0; transition: opacity .3s ease .2s; }
.ml-btn {
  position: absolute; bottom: 4.4em;
  display: grid; place-items: center;
  width: 5em; height: 5em; border-radius: 50%;
  background: rgb(20 21 26 / .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ml-btn .lla-i { width: 2.2em; height: 2.2em; color: #14151a; }
.ml-btn--l { left: 4.6em; }
.ml-btn--r { right: 4.6em; }

/* Leads: the list and a lead, pushed in from the right */
.mo-nav { overflow: hidden; background: #f6f6fc; }
.mo-view {
  position: absolute; top: 5.18em; left: 0; right: 0; bottom: 0;
  background: #f6f6fc;
  transition: translate .45s cubic-bezier(.3, .8, .2, 1), filter .45s ease;
}
.mo-nav:not([data-view="list"]) .mo-view--list { translate: -30% 0; filter: brightness(.94); }
.mo-view--lead { z-index: 2; translate: 100% 0; box-shadow: -1em 0 3em rgb(14 22 80 / .08); }
.mo-view--lead.is-on { translate: 0 0; }
.mo-view[hidden] { display: none; }

.mo-bar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 4.4em; padding: 0 1.6em;
}
.mo-bar > :last-child { justify-self: end; color: var(--ma-blue); }
.mo-bar > .lla-i { width: 2.2em; height: 2.2em; }
.mo-bar__title { font: 700 1.6em/1 var(--ma-font); }
.mo-back {
  justify-self: start;
  display: inline-flex; align-items: center; gap: .1em;
  margin: 0 0 0 -.4em; padding: .3em .2em; border: 0; border-radius: .4em;
  background: none; color: var(--ma-blue);
  font: 400 1.55em/1 var(--ma-font); cursor: pointer;
}
span.mo-back { cursor: default; }
.mo-back .lla-i { width: 1.3em; height: 1.3em; stroke-width: 2; }
.mo-back:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mo-big { margin: .1em .62em 0; font: 700 3.2em/1.1 var(--ma-font); letter-spacing: -.01em; }
.mo-search {
  display: flex; align-items: center; gap: .55em;
  margin: .75em 1.1em 0; height: 2.5em; padding: 0 .75em;
  border-radius: .75em; background: var(--ma-soft); color: var(--ma-muted);
  font: 400 1.45em/1 var(--ma-font);
}
.mo-search .lla-i { width: 1.15em; height: 1.15em; }
.mo-chips { display: flex; gap: .6em; margin: 1.2em 1.6em 1.3em; }
.mo-chips span { display: inline-flex; align-items: center; height: 2.4em; padding: 0 1em; border-radius: 1.2em; background: #fff; border: 1px solid var(--ma-line); font: 400 1.25em/1 var(--ma-font); color: var(--ma-text); }
.mo-chips .is-on { background: var(--ma-ink); border-color: var(--ma-ink); color: #fff; }

.mo-scroll {
  position: absolute; top: 4.4em; left: 0; right: 0; bottom: 0;
  overflow-y: auto; overscroll-behavior: contain;
  padding-bottom: 4em;
  scrollbar-width: none;
}
.mo-scroll::-webkit-scrollbar { display: none; }
.mo-who { padding: .1em 2em 0; }
.mo-who__name { margin: 0; font: 700 2.6em/1.1 var(--ma-font); letter-spacing: -.01em; }
.mo-who__line { display: flex; align-items: center; flex-wrap: wrap; gap: .5em; margin: .6em 0 0; font: 400 1.25em/1.3 var(--ma-font); color: var(--ma-muted); }
.mo-who__line .ma-pill { font-size: .8em; }
.mo-group__h { margin: 2em 2.6em .6em; font: 700 1.1em/1 var(--ma-font); letter-spacing: .06em; text-transform: uppercase; color: var(--ma-muted); }
.mo-group { list-style: none; margin: 0 1.6em; padding: 0 1.4em; border: 1px solid var(--ma-line); border-radius: 1.6em; background: #fff; }
.mo-group > * { display: flex; align-items: center; justify-content: space-between; gap: 1em; min-height: 4.2em; }
.mo-group > * + * { border-top: 1px solid var(--ma-line); }
.mo-group dt { font: 400 1.3em/1.25 var(--ma-font); color: var(--ma-text); }
.mo-group dd { margin: 0; font: 700 1.3em/1.25 var(--ma-font); text-align: right; }
.mo-group .mo-mono { font: 500 1.15em/1.25 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ma-text); }
.mo-group--ticks li { justify-content: flex-start; font: 400 1.3em/1.25 var(--ma-font); gap: .6em; min-height: 3.23em; }
.mo-group--ticks .lla-i { width: 1.25em; height: 1.25em; padding: .2em; border-radius: 50%; background: var(--ma-ok-bg); color: var(--ma-ok); stroke-width: 2.4; }
.mo-group--ticks li > span { margin-left: auto; color: var(--ma-muted); font-size: .9em; }

/* A/B tests: Set as main */
.mo-live { justify-self: end; display: inline-flex; align-items: center; gap: .4em; font: 700 1.25em/1 var(--ma-font); color: var(--ma-ok) !important; }
.mo-live i { width: .55em; height: .55em; border-radius: 50%; background: #12b76a; }
.mo-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin: .8em 1.6em 0; padding: .3em; border-radius: 1.2em; background: var(--ma-soft); }
.mo-seg span { padding: .6em 0; border-radius: .75em; font: 700 1.25em/1 var(--ma-font); text-align: center; color: var(--ma-text); }
.mo-seg .is-on { background: #fff; color: var(--ma-ink); box-shadow: 0 1px 2px rgb(14 22 80 / .1); }
.mo-split__bar { display: flex; gap: .3em; height: 1.2em; margin-top: 1.3em; }
.mo-split__bar i { flex: 50 1 0; min-width: 0; border-radius: .6em; transition: flex-grow .7s cubic-bezier(.3, .8, .2, 1), opacity .4s ease; }
.mo-split__a { background: #c9d2f7; }
.mo-split__b { background: var(--ma-blue); }
.mo-split__legend { display: flex; justify-content: space-between; margin-top: .9em; }
.mo-split__legend span { font: 700 1.2em/1 var(--ma-font); color: var(--ma-text); }
.mo-split__legend b { font-weight: 400; color: var(--ma-muted); margin-left: .3em; }
.mo-split__legend b + b { display: none; }
.mo-vars { list-style: none; margin: 0; padding: 0; }
.mo-var { margin-top: 1.1em; transition: opacity .4s ease; }
.mo-var__head { display: flex; align-items: center; gap: .9em; }
.mo-var__id { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .55em; background: #eef1fe; color: var(--ma-blue); font: 700 1.3em/1 var(--ma-font); }
.mo-var--b .mo-var__id { background: var(--ma-blue); color: #fff; }
.mo-var__head b { flex: 1; font: 700 1.45em/1.1 var(--ma-font); }
.ma-pill--lead { background: #e8edff; color: var(--ma-blue); }
.mo-var__paused { display: none; background: #f0f0f4; color: #6b6f7b; }
.mo-var__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.2em 0 0; }
.mo-var__nums div + div { padding-left: 1.2em; border-left: 1px solid var(--ma-line); }
.mo-var__nums dt { font: 400 1.15em/1 var(--ma-font); color: var(--ma-muted); }
.mo-var__nums dd { margin: .3em 0 0; font: 700 2em/1 var(--ma-font); font-variant-numeric: tabular-nums; }
.mo-var--b .mo-var__nums div:last-child dd { color: var(--ma-blue); }

.mo-main__input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.mo-main {
  display: flex; align-items: center; justify-content: center;
  margin: 1.1em 1.07em 0; height: 3.07em; border-radius: .9em;
  background: var(--ma-blue); color: #fff;
  font: 700 1.5em/1 var(--ma-font);
  cursor: pointer; user-select: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.mo-main > span { display: inline-flex; align-items: center; gap: .45em; }
.mo-main .lla-i { width: 1.2em; height: 1.2em; stroke-width: 1.8; }
.mo-main__back { display: none !important; }
.mo-main__input:focus-visible + .mo-main { outline: 2px solid var(--brand); outline-offset: 3px; }
.mo-toast {
  display: flex; align-items: center; justify-content: center; gap: .45em;
  width: fit-content; margin: .9em auto 0; padding: .55em .9em; border-radius: 1em;
  background: var(--ma-ok-bg); color: var(--ma-ok);
  font: 700 1.25em/1 var(--ma-font);
  opacity: 0; translate: 0 .5em;
  transition: opacity .3s ease, translate .3s ease;
}
.mo-toast .lla-i { width: 1.1em; height: 1.1em; stroke-width: 2.4; }

.mo-tst:has(.mo-main__input:checked) .mo-split__a { flex-grow: 0.0001; opacity: 0; }
.mo-tst:has(.mo-main__input:checked) .mo-split__bar { gap: 0; }
.mo-tst:has(.mo-main__input:checked) .mo-split__legend b:first-of-type { display: none; }
.mo-tst:has(.mo-main__input:checked) .mo-split__legend b + b { display: inline; }
.mo-tst:has(.mo-main__input:checked) .mo-var--a { opacity: .55; }
.mo-tst:has(.mo-main__input:checked) .mo-var__paused { display: inline-flex; }
.mo-main__input:checked + .mo-main { background: #fff; color: var(--ma-ink); box-shadow: inset 0 0 0 1px var(--ma-line); }
.mo-main__input:checked + .mo-main .mo-main__set { display: none; }
.mo-main__input:checked + .mo-main .mo-main__back { display: inline-flex !important; }
.mo-main__input:checked ~ .mo-toast { opacity: 1; translate: 0 0; }

/* ---------- the close: the QR code on glass ---------- */

.mo-qr {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin: 0 7% 0 auto; padding: 22px 22px 18px;
  border-radius: 22px;
  background: rgb(255 255 255 / .08);
  border: 1px solid rgb(255 255 255 / .22);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 30px 60px -30px rgb(2 6 40 / .8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.mo-qr__code { width: 176px; height: 176px; padding: 12px; border-radius: 14px; background: #fff; }
.mo-qr__code svg { display: block; width: 100%; height: 100%; }
.mo-qr__label { margin: 0; font: 500 12px/1 var(--font-ui); letter-spacing: .09em; text-transform: uppercase; color: rgb(255 255 255 / .8); }

/* ---------- smaller screens ---------- */

@media (max-width: 1100px) {
  .mo-split, .mo-split.gk-split--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mo-tray .mo-phone { --mp-w: 262px; }
  .mo-tray { height: 560px; padding-top: 48px; }
  .mo-alerts { gap: 20px; }
  .mo-switches { width: 196px; margin-top: 110px; padding-inline: 14px; }
}

@media (max-width: 1024px) {
  .mo-qr { margin: 32px 0 0; align-self: flex-start; }
}

@media (max-width: 900px) {
  .mo-tray .mo-phone { --mp-w: 290px; }
  .mo-tray { height: 600px; padding-top: 52px; }
  .mo-switches { width: 220px; }
}

@media (max-width: 640px) {
  .mo-shot { overflow: hidden; margin-bottom: 4px; }
  .mo-shot img { width: 136%; max-width: none; margin-left: -20%; }
  .mo-art { padding: 16px; }
  .mo-tray { height: 540px; padding-top: 40px; }
  .mo-tray .mo-phone { --mp-w: 264px; }
  .mo-alerts { flex-direction: column; align-items: center; gap: 24px; }
  .mo-tray--alerts { height: auto; max-height: 860px; padding: 20px 16px 0; }
  .mo-tray--alerts .mo-alerts { width: 100%; }
  .mo-switches { width: 100%; max-width: 320px; margin-top: 0; }
  .mo-tray--alerts .mo-phone { margin-bottom: -150px; }
  .mo-hero__cta .mo-stores { flex-direction: row; }
}

@media (max-width: 380px) {
  .mo-tray .mo-phone { --mp-w: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .ml-note, .ml-empty, .mo-view, .mo-split__bar i, .mo-var, .mo-toast, .mo-switch__track, .mo-switch__track::after, .mo-main { transition: none; }
}
