/* think. דף הבית של האפליקציה — תוספות (מעל landing.css ו-teams-new.css) */

.hm-skip { position: absolute; top: -60px; right: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px; background: #fff; color: #0b0b0c; font-weight: 600; }
.hm-skip:focus { top: 12px; }

/* ראש הדף: כותרת קצרה, בגודל המלא */
.home .hero__title { font-size: clamp(52px, 9.6vw, 190px); line-height: .9; }
.home .hero__lead { max-width: 30em; font-size: clamp(17px, 1.3vw, 22px); }

/* צ'אט מול תהליך */
.home .problem .ticker:first-of-type { margin-top: clamp(40px, 5vw, 80px); }
.hm-shot { aspect-ratio: auto; background: #0b0b0c; box-shadow: 0 30px 80px rgba(11, 11, 12, .22); }
.hm-shot img { display: block; width: 100%; height: auto; }
.home .problem__after p { max-width: 30em; }
.hm-stack .why__card:nth-child(1) .why__in { background: #1a1a1d; color: #f5f5f2; }
.hm-stack .why__card:nth-child(2) .why__in { background: var(--blue); color: #fff; box-shadow: 0 -18px 50px rgba(11, 11, 12, .22); }
.hm-stack .why__card:nth-child(2) .dot { color: #fff; }
.hm-stack .why__card:nth-child(2) .why__n::before { background: #fff; }
.hm-stack .why__text h3 { font-size: clamp(44px, 7vw, 130px); }
.hm-stack .why__card:nth-child(1) .why__img img { filter: grayscale(1) drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); opacity: .8; }

/* השיטה: כותרות ארוכות יותר */
.home .method .stage h3 { font-size: clamp(26px, 2.9vw, 52px); line-height: 1.02; }

/* ההדגמה */
.hm-sub { max-width: 36em; }

/* מה יש בפנים: רשת של 6 עמודות */
.hm-grid { grid-template-columns: repeat(6, 1fr); }
.hm-grid .xt-wide { grid-column: 1 / -1; min-height: 520px; }
.hm-grid .xt-wide .xt-vis { padding: 36px 36px 36px 20px; }
.hm-grid .tm-get { grid-column: span 2; }
.hm-half { grid-column: span 3; }
.hm-half .xt-vis { min-height: 0; padding: 36px 36px 0; }
.hm-half .tm-shot { width: min(100%, 520px); rotate: 0deg; }
.hm-half .xt-text { padding: 30px 36px 38px; }

/* מחירים: ארבעה מסלולים */
.hm-plans .plans__grid { grid-template-columns: repeat(4, 1fr); max-width: 1560px; }
.hm-plans .plan__price { direction: ltr; justify-content: flex-end; font-size: clamp(44px, 4.4vw, 80px); }
.hm-plans .plan__price small { direction: rtl; }
.hm-plans .plan ul { margin-bottom: 0; }
.hm-credits { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(24px, 2.6vw, 40px); }
.hm-credits span { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(245, 245, 242, .2); font-size: 15px; font-weight: 500; color: rgba(245, 245, 242, .78); }
.hm-go { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(28px, 3vw, 48px); text-align: center; }
.hm-go .btn { height: 68px; padding: 0 44px; font-size: 21px; }
.hm-go p { color: var(--muted); font-size: 16px; }

/* הקורס */
.hm-fine { font-size: 15px !important; opacity: .7; }
.hm-course { padding: 14px 14px clamp(22px, 2.4vw, 36px); }
.hm-course img { display: block; width: 100%; height: auto; border-radius: 18px; }
.hm-course ul { margin: 22px clamp(10px, 1.4vw, 24px) 0; padding-top: 0; border-top: 0; }

/* תחתית */
.hm-footcta { display: flex; align-items: center; gap: 26px; }
.hm-footcta .link { border-color: rgba(255, 255, 255, .5); }

@media (max-width: 1200px) {
  .hm-plans .plans__grid { grid-template-columns: 1fr 1fr; max-width: 900px; }
  .hm-plans .plan--you { order: 0; }
}
@media (max-width: 900px) {
  .hm-grid { grid-template-columns: 1fr; }
  .hm-grid .xt-wide, .hm-grid .tm-get, .hm-half { grid-column: auto; }
  .hm-grid .xt-wide { flex-direction: column; align-items: stretch; min-height: 0; }
  .hm-grid .xt-wide .xt-text { flex: none; padding: 28px 24px 8px; }
  .hm-grid .xt-wide .xt-vis { padding: 20px 20px 28px; min-height: 0; }
  .hm-half .xt-vis { padding: 22px 22px 0; }
  .hm-half .xt-text { padding: 24px 24px 28px; }
}
@media (max-width: 760px) {
  .home .hero__title { font-size: 13.4vw; line-height: .92; text-wrap: initial; }
  .home .hero__title .line { white-space: nowrap; }
  .home .hero__hint { justify-self: start; font-size: 14px; }
  .hm-plans .plans__grid { grid-template-columns: 1fr; max-width: 520px; }
  .hm-plans .plan--you { order: -1; }
  .hm-plans .plan__price { font-size: 15vw; }
  .hm-stack .why__text h3 { font-size: 13vw; }
  .home .method .stage h3 { font-size: 7.2vw; }
  .hm-go .btn { width: 100%; }
}
.hm-half .tm-shot { width: auto; max-width: 100%; max-height: 380px; }
