/* The trainee app page (31 Oct 2026; replaces the live /מתאמנים, the address in the QR codes studios print).
   A phone never sees it: the script in the head sends it on to its store. So the page is for a computer:
   the hero is split, the copy with a QR code and the two stores beside a stage (a new studio-bench photo, the app's home screen
   from the homepage's drawing of the real app, the waiting-list offer and a payment), and nothing else: the owner took out
   the "what the app does" cards and the short way elsewhere (31 Oct). Shared pieces come from site.css ("Inner pages, in the homepage's language"). */

/* ---------- Hero ---------- */
.ih.split { display: block; } /* the kit's .ih.split also picks up the old .split grid from site.css */
.tp-hero .ih-title { font-size: clamp(44px, 4.9vw, 76px); line-height: 1.02; }
.tp-hero .ih-sub { font-size: clamp(18px, 1.5vw, 21px); }

/* the code beside the two stores, on the grey block */
.tp-get { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; width: 100%; max-width: 560px; margin-top: 30px;
  padding: 16px; border-radius: 22px; background: var(--paper-2); }
.tp-qr { margin: 0; padding: 10px; border-radius: 14px; background: #fff; }
.tp-qr img { display: block; width: 112px; height: 112px; }
.tp-get-c { display: grid; gap: 12px; }
.tp-get-h { font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.tp-get-h b { color: var(--ink); font-weight: 700; }
.tp-stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tp-store { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 14px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; transition: background-color .15s; }
.tp-store:hover { background: #2A2A2D; }
.tp-store > svg { flex: none; width: 22px; height: 22px; }
.tp-store > span { display: grid; line-height: 1.15; }
.tp-store small { font-size: 12px; font-weight: 500; opacity: .8; }
.tp-store bdi { font-family: "Wix Madefor Text", var(--sans); font-size: 16.5px; font-weight: 700; white-space: nowrap; }
.tp-store:focus-visible { outline: 3px solid #000; outline-offset: 2px; }
.tp-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.tp-rate b { font-family: "Wix Madefor Text", var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); }

/* On a phone that stayed (?stay), or a tablet: no code; on a narrow screen the stores stack */
@media (hover: none) and (pointer: coarse) {
  .tp-qr { display: none; }
  .tp-get { grid-template-columns: 1fr; }
  .tp-get-h { display: none; }
}
@media (max-width: 479px) {
  .tp-qr { display: none; }
  .tp-get { grid-template-columns: 1fr; padding: 0; background: none; }
  .tp-get-h { display: none; }
}

/* ---------- The stage: the photo, the phone on the bench side, the notes on the open wall ---------- */
.tp-stage { height: clamp(560px, 50vw, 660px); }
.tp-stage > .ih-bg { object-position: 40% 50%; }
/* a computer's half-width stage (about 500px): the phone a little smaller on the bench side, the notes on the open wall */
.tp-phone { position: absolute; z-index: 2; top: 36px; inset-inline-start: 6%; width: 268px; transform: scale(.88); transform-origin: 100% 0; }
.tp-offer { top: 60px; inset-inline-end: 14px; width: 236px; padding: 12px 14px 14px; }
.tp-offer .pt-note-t { font-size: 18px; }
.tp-paid { bottom: 36px; inset-inline-end: 14px; width: 236px; }
.tp-paid .st-card-h { margin-bottom: 8px; }
.tp-paid-t { display: flex; align-items: center; gap: 8px; margin-bottom: 4px !important; font-size: 20px; font-weight: 700; }
.tp-paid-t i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #18E588; color: #000; }
.tp-paid-t .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.tp-paid small { display: block; line-height: 1.45; }

/* a full-width stage (a tablet): the phone at full size */
@container ihs (min-width: 600px) {
  .tp-phone { top: 44px; inset-inline-start: 11%; transform: none; }
  .tp-offer { top: 78px; inset-inline-end: 22px; width: 270px; padding: 14px 16px 16px; }
  .tp-offer .pt-note-t { font-size: 20px; }
  .tp-paid { bottom: 34px; inset-inline-end: 34px; width: 250px; }
}
/* a phone's stage: the phone in the middle, the offer over its foot, no payment */
@container ihs (max-width: 439px) {
  .tp-phone { inset-inline-start: 50%; margin-inline-start: -134px; transform-origin: 50% 0; }
  .tp-offer { top: auto; bottom: 22px; inset-inline-end: 50%; margin-inline-end: -118px; }
  .tp-paid { display: none; }
}
@media (max-width: 899px) { .tp-stage { margin-top: 8px; } }
@media (max-width: 599px) { .tp-stage { height: 560px; } }

@media (prefers-reduced-motion: reduce) {
  .tp-store { transition: none; }
}
