/* Pragma Pocket on the home page: a phone drawn in CSS, no images for the frame. */
.pocket { background: var(--paper); padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; }
.pocket__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pocket__points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.pocket__points li { position: relative; padding-left: 1.6rem; color: var(--text-2); line-height: 1.55; }
.pocket__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--grad); }
.pocket__points b { color: var(--ink); font-weight: 600; }
.pocket__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.pocket__how { margin-top: 1.2rem; font-size: .92rem; color: var(--text-3); line-height: 1.6; max-width: 34rem; }
.pocket__how a { color: var(--accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pocket__stage { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pocket__hint { margin: 0; max-width: 300px; text-align: center; font-size: .86rem; line-height: 1.5; color: var(--text-3); }
.pocket__hint b { color: var(--ink); font-weight: 600; }

/* The phone: a titanium edge, a black bezel, the island, a home bar. */
.device { position: relative; width: 304px; height: 618px; border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #d9d9de, #a9a9b1 40%, #e6e6ea 60%, #9d9da6);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 40px 80px -30px rgba(20,20,34,.45), 0 12px 24px -12px rgba(20,20,34,.25); }
.device__side { position: absolute; width: 3px; border-radius: 2px; background: #a2a2ab; }
.device__side--a { left: -3px; top: 132px; height: 56px; }
.device__side--b { right: -3px; top: 168px; height: 84px; }
.device__screen { position: relative; height: 100%; border-radius: 44px; overflow: hidden; background: #f4f4f6;
  border: 6px solid #0b0b0d; display: flex; flex-direction: column; font-family: var(--sans, Inter, system-ui, sans-serif); color: #16161a; }
.device__island { position: absolute; top: 9px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 20px; background: #0b0b0d; z-index: 3; }
.device__status { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 0 28px; height: 40px; font-size: 13px; font-weight: 600; }
.device__bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.device__bars i { width: 3px; background: #16161a; border-radius: 1px; }
.device__bars i:nth-child(1) { height: 4px; } .device__bars i:nth-child(2) { height: 6px; } .device__bars i:nth-child(3) { height: 8px; } .device__bars i:nth-child(4) { height: 10px; }
.device__home { z-index: 3; position: absolute; bottom: 7px; left: 50%; width: 110px; height: 4px; transform: translateX(-50%); border-radius: 3px; background: #16161a; opacity: .85; }

/* Pocket itself runs in the screen (pocket-demo/, the real app with a sample bakery): 390 x 797 CSS pixels, from under
   the status bar to the screen's bottom edge with the home bar over it, as on a real phone, shrunk to the 270-pixel
   screen. The picture underneath shows until it runs. */
.pk-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #f4f4f6; }
.pk-app { position: absolute; left: 0; top: 32.5px; width: 390px; height: 797px; border: 0; background: #f4f4f6;
  transform: scale(.6923); transform-origin: 0 0; opacity: 0; transition: opacity .4s ease; }
.pk-app.is-live { opacity: 1; }

@media (max-width: 860px) {
  .pocket__grid { grid-template-columns: 1fr; }
  .pocket__stage { order: 2; }
}
@media (max-width: 380px) { .device { transform: scale(.9); transform-origin: top center; margin-bottom: -60px; } }
@media (prefers-reduced-motion: reduce) { .pk-orb { animation: none; } }

/* The phone apps are not out yet, so these are labels in the stores' own shape, not links. */
.pocket__stores { margin-top: 1.6rem; }
.pocket__stores-title { font-size: .92rem; font-weight: 600; color: var(--ink); }
.pocket__badges { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pocket__badge { display: flex; align-items: center; gap: .65rem; min-width: 11.5rem; height: 3.4rem; padding: 0 1.1rem 0 .9rem;
  border-radius: 12px; background: #000; border: 1px solid #A6A6A6; color: #fff; }
.pocket__badge span { display: flex; flex-direction: column; font-size: 1.28rem; font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.pocket__badge small { font-size: .66rem; font-weight: 500; letter-spacing: .01em; color: rgba(255,255,255,.85); }
.pocket__logo { flex: none; }
