/* Sign-in and app download page (31 Oct 2026; replaces the live /הורדת-אפליקציה, the header's "כניסה").
   A short centred hero, then the two apps side by side as on the live page: the trainees' on the grey block, the business's on black.
   Each card: the store icon and name, a line, its App Store rating, then a white panel with a QR code beside the two store buttons.
   A phone hides the codes (it can't scan itself), and the hero's line changes with it. Then "not a customer yet" on grey.
   Shared pieces come from site.css ("Inner pages, in the homepage's language"). */

/* ---------- Hero ---------- */
.lg-hero .ih-title { max-width: 13em; }
.lg-hero .ih-note a { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }
.lg-touch { display: none; }

/* ---------- The two apps ---------- */
.lg-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.lg-app { display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: start; gap: 20px; padding: clamp(24px, 3.4vw, 44px);
  border-radius: 28px; background: var(--paper-2); scroll-margin-top: 96px; }
.lg-app.dark { background: #000; }

.lg-top { display: flex; align-items: center; gap: 18px; }
.lg-ic { flex: none; width: 68px; height: 68px; border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 12px 24px -14px rgba(0, 0, 0, .45); }
.lg-app.dark .lg-ic { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16); }
.lg-for { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.lg-app.dark .lg-for { color: var(--band-soft); }
.lg-app h2 { font-family: var(--display); font-size: clamp(30px, 2.8vw, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

.lg-text { max-width: 30em; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.lg-app.dark .lg-text { color: var(--band-soft); }

.lg-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; color: var(--ink-2); }
.lg-rate b { font-family: "Wix Madefor Text", var(--sans); font-size: 16px; font-weight: 700; color: var(--ink); }
.lg-app.dark .lg-rate { color: var(--band-soft); }
.lg-app.dark .lg-rate b { color: #fff; }

/* the code and the stores, on white in both cards (a code reads best dark on light) */
.lg-get { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(18px, 2.4vw, 28px); padding: 18px; border-radius: 20px; background: #fff; color: #000; }
.lg-app:not(.dark) .lg-get { box-shadow: 0 0 0 1px rgba(0, 0, 0, .04); }
.lg-qr { display: grid; justify-items: center; gap: 8px; margin: 0; }
.lg-qr img { display: block; width: 132px; height: 132px; padding: 8px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); box-sizing: content-box; }
.lg-qr figcaption { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.lg-stores { display: grid; gap: 10px; }
.lg-store { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 18px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; transition: background-color .15s; }
.lg-store:hover { background: #2A2A2D; }
.lg-store > svg { flex: none; width: 24px; height: 24px; }
.lg-store > span:not(.sr-only) { display: grid; line-height: 1.15; }
.lg-store small { font-size: 12.5px; font-weight: 500; opacity: .8; }
.lg-store bdi { font-family: "Wix Madefor Text", var(--sans); font-size: 18px; font-weight: 700; white-space: nowrap; }
.lg-store:focus-visible { outline: 3px solid #000; outline-offset: 2px; }

/* below the panel: where else to go (trainees), the browser sign-in (business) */
.lg-more { display: grid; gap: 10px; align-self: end; }
.lg-more .text-link { font-size: 17px; font-weight: 600; }
.lg-login { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; align-self: end; }
.lg-login p { font-size: 15px; color: var(--band-soft); }
.lg-hero .lg-btn-white { min-height: 56px; padding: 0 26px; border-color: #fff; background: #fff; color: #000; font-size: 17px; }
.lg-hero .lg-btn-white:hover { background: #E6E6E8; border-color: #E6E6E8; }

@media (max-width: 999px) {
  .lg-apps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

/* On a phone or a tablet: no codes, the two stores side by side; on black, white buttons */
@media (hover: none) and (pointer: coarse), (max-width: 599px) {
  .lg-desk { display: none; }
  .lg-touch { display: inline; }
  .lg-qr { display: none; }
  .lg-get { grid-template-columns: 1fr; padding: 0; background: none; box-shadow: none !important; }
  .lg-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-store { padding: 8px 14px; }
  .lg-app.dark .lg-store { background: #fff; color: #000; }
  .lg-app.dark .lg-store:hover { background: #E6E6E8; }
  .lg-hero .lg-btn-white { background: transparent; color: #fff; } /* the stores come first on a phone */
  .lg-hero .lg-btn-white:hover { background: #fff; color: #000; }
}
@media (max-width: 599px) {
  .lg-app { gap: 18px; padding: 24px 20px 26px; border-radius: 22px; }
  .lg-ic { width: 56px; height: 56px; border-radius: 13px; }
  .lg-text { font-size: 17px; }
  .lg-store { gap: 8px; padding: 8px 12px; }
  .lg-store > svg { width: 20px; height: 20px; }
  .lg-store bdi { font-size: 16px; }
  .lg-login .btn { width: 100%; }
}
@media (max-width: 439px) {
  .lg-stores { grid-template-columns: 1fr; }
}

/* ---------- Not a customer yet ---------- */
.lg-join { margin-bottom: 0; }
.lg-join .actions { justify-content: center; }
.lg-join .btn { min-height: 56px; padding: 0 28px; font-size: 17.5px; }
.lg-join .btn svg { width: 20px; height: 20px; fill: currentColor; color: #25D366; }

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