/* Landing sections below the schedule widget: hero, bento grid, testimonials.
   Scoped under .lp-* so the shared header/footer/widget styles stay untouched. */

@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 300;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Light.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 400;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 500;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Medium.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 600;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Semibold.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 700;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Bold.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 800;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Heavy.woff2) format("woff2");
}
@font-face {
  font-family: "SF Pro Rounded";
  font-weight: 900;
  font-display: swap;
  src: url(/landing/fonts/SF-Pro-Rounded-Black.woff2) format("woff2");
}

:root {
  --lp-blue: #4f63f0;
  --lp-blue-light: #6b7cf5;
  --lp-blue-deep: #3e50d8;
  --lp-lavender: #d9ddff;
  --lp-pink: #fbd9ff;
  --lp-pink-text: #b03cc8;
  --lp-pink-border: #e19bf0;
  --lp-bg: #f3f4fa;
  --lp-card: rgba(255, 255, 255, 0.55);
  --lp-ink: #111118;
  --lp-mute: rgba(35, 36, 58, 0.6);
  --lp-font: "SF Pro Rounded", -apple-system, "SF Pro Display", system-ui,
    sans-serif;
  --lp-g-blue: linear-gradient(170deg, #6b7cf5 0%, #4f63f0 60%, #5c6ef3 100%);
  --lp-sh-sticker: 0 10px 30px rgba(20, 20, 60, 0.15);
  --lp-sh-post: 0 20px 50px rgba(20, 20, 60, 0.16), 0 2px 6px rgba(20, 20, 60, 0.06);
  --lp-r-card: 60px;
}

body {
  background: var(--lp-bg);
}
.lp {
  background: var(--lp-bg);
  color: var(--lp-ink);
  font-family: var(--lp-font);
  -webkit-font-smoothing: antialiased;
}
.lp-container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* ───── Buttons & stickers ───── */
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 47px;
  padding: 0 20px 0 18px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--lp-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease;
}
/* No transform on hover: it would start a stacking context on the button and
   pull the z-index:-1 glow above its own background. */
.lp-btn:hover {
  background: #1c1c24;
}
/* Animated glow around the black «Скачать» pill: a soft rotating conic halo
   plus a thin colour ring, in the landing palette (blue → pink → lavender).
   `@property` lets the gradient angle animate; browsers without it show a
   static glow. */
@property --campus-glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes campusGlowSpin {
  to {
    --campus-glow-angle: 360deg;
  }
}
@keyframes campusGlowBreathe {
  0%,
  100% {
    filter: blur(12px) saturate(1.1);
  }
  50% {
    filter: blur(16px) saturate(1.35);
  }
}
.lp-btn {
  position: relative;
}
/* Stacking context on the parent, so the z-index:-1 glow sits behind the
   button's own black background rather than on top of it. */
.lp-hero__act,
.lp-dl {
  isolation: isolate;
}
.lp-btn::before,
.lp-btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--campus-glow-angle),
    #4f63f0,
    #8f7bff,
    #e19bf0,
    #ff9ad5,
    #6b7cf5,
    #4f63f0
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.lp-btn::before {
  inset: -8px;
  filter: blur(12px) saturate(1.1);
}
.lp-btn::after {
  inset: -2px;
}
.lp-btn:hover::before,
.lp-btn:focus-visible::before,
.lp-btn:hover::after,
.lp-btn:focus-visible::after {
  opacity: 1;
  animation: campusGlowSpin 2.4s linear infinite;
}
.lp-btn:hover::before,
.lp-btn:focus-visible::before {
  opacity: 0.85;
  animation: campusGlowSpin 2.4s linear infinite, campusGlowBreathe 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lp-btn:hover::before,
  .lp-btn:hover::after,
  .lp-btn:focus-visible::before,
  .lp-btn:focus-visible::after {
    animation: none;
  }
}

.lp-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}
.lp-btn__android {
  width: 20px;
  height: 20px;
  margin-left: -2px;
}
/* On a phone the button carries only that platform's icon, like the header pill. */
[data-app-platform="ios"] .lp-btn__android,
[data-app-platform="android"] .lp-btn__ios {
  display: none;
}

.lp-stk {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  font-weight: 800;
  font-size: 24px;
  line-height: 1;
  padding: 14px 26px;
  white-space: nowrap;
  /* Double ring: white border outside, inset ring inside. An inset shadow
     follows the pill radius exactly, unlike `outline` with a negative offset. */
  border: 4px solid #fff;
  --lp-stk-ring: var(--lp-blue);
  box-shadow: inset 0 0 0 4px var(--lp-stk-ring), var(--lp-sh-sticker);
  background: var(--lp-lavender);
  color: var(--lp-blue);
  pointer-events: none;
}
.lp-stk--white {
  background: #fff;
}
.lp-stk--pink {
  background: var(--lp-pink);
  color: var(--lp-pink-text);
  --lp-stk-ring: var(--lp-pink-border);
}
.lp-stk--md {
  font-size: 20px;
  padding: 10px 22px;
}
.lp-stk--sm {
  font-size: 17px;
  padding: 8px 18px;
}
.lp-stk--xs {
  font-size: 16px;
  padding: 8px 16px;
}

/* ───── Hero ───── */
.lp-hero {
  padding: 70px 0 0;
  overflow: hidden;
}
.lp-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* The badge asset is white-on-transparent; invert it so it reads on the light hero. */
.lp-badge {
  display: block;
  width: 230px;
  height: auto;
  margin-bottom: 24px;
  filter: invert(1);
}
.lp-hero__title {
  max-width: 760px;
  font-family: var(--lp-font);
  font-size: 66px;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
  text-align: center;
}
.lp-hero--org .lp-hero__title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.lp-hero__sub {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
}
.lp-hero__sub:empty {
  display: none;
}
.lp-hero__act {
  margin-top: 28px;
}
.lp-hero__media {
  position: relative;
  width: min(420px, 100%);
  margin-top: 36px;
}
/* Box sized by its own width; the image (~1:2.07) sits on top and overflows
   instead of growing it (aspect-ratio alone would expand to the image's height).
   1.9× width shows ~92% of the image: the whole hand, wrist fading out. */
.lp-hero__media::before {
  content: "";
  display: block;
  padding-top: 190%;
}
.lp-hero__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  -webkit-mask-image: linear-gradient(#000 82%, transparent 92%);
  mask-image: linear-gradient(#000 82%, transparent 92%);
}
.lp-hero__stk-1 {
  left: -200px;
  top: 30px;
  transform: rotate(-6deg);
}
.lp-hero__stk-2 {
  right: -120px;
  top: 150px;
  transform: rotate(4deg);
}
.lp-hero__stk-3 {
  right: -80px;
  top: 250px;
  transform: rotate(-4deg);
}

/* ───── Bento grid ───── */
.lp-bento {
  padding: 20px 0;
}
.lp-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 19px;
}
.lp-card {
  position: relative;
  overflow: hidden;
  height: 438px;
  border-radius: var(--lp-r-card);
  background: var(--lp-card);
  border: 1px solid #fff;
  box-shadow: inset 0 0 25px #fff;
}
.lp-card--2 {
  grid-column: span 2;
}
.lp-card--4 {
  grid-column: span 4;
}
.lp-card--6 {
  grid-column: span 6;
}
.lp-card h3 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
}
.lp-card p {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}
.lp-card--accent {
  background: var(--lp-g-blue);
  color: #fff;
}
.lp-card--accent h3 {
  text-shadow: 0 4px 30px rgba(20, 20, 80, 0.35);
}
.lp-card--accent p {
  text-shadow: 0 2px 20px rgba(20, 20, 80, 0.4);
}

/* Твой ежедневный помощник */
.lp-card--today .lp-card__txt {
  position: absolute;
  left: 0;
  top: 0;
  width: 48%;
  padding: 48px 8px 0 44px;
  z-index: 2;
}
.lp-card--today h3 {
  font-size: 36px;
}
.lp-card--today .lp-card__txt p {
  margin-top: 10px;
}
/* Text column ends at 48%; the phone starts there so they never overlap. */
.lp-card--today__img {
  position: absolute;
  right: -6%;
  top: 26px;
  width: 58%;
  height: auto;
}

/* Отзывы на преподов */
.lp-card--reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 32px;
}
/* Tag cloud is HTML so it wraps to the card instead of shrinking with it. */
.lp-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 8px;
  padding: 30px 4px 0;
}
.lp-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.lp-tags__stk,
.lp-tags .lp-tags__stk {
  padding: 9px 16px;
  border: 3px solid #fff;
  background: var(--lp-lavender);
  color: var(--lp-blue);
  box-shadow: inset 0 0 0 3px var(--lp-blue), var(--lp-sh-sticker);
  transform: rotate(-4deg);
}
.lp-tags .lp-tags__stk--pink {
  background: var(--lp-pink);
  color: var(--lp-pink-text);
  box-shadow: inset 0 0 0 3px var(--lp-pink-border), var(--lp-sh-sticker);
  transform: rotate(4deg);
}
.lp-card--reviews .lp-card__txt {
  margin-top: auto;
  padding-top: 16px;
  text-align: center;
}
.lp-card--reviews h3 {
  font-size: 24px;
  font-weight: 800;
}
.lp-card--reviews p {
  margin-top: 10px;
  font-size: 16px;
}

/* Расписание твоей группы */
.lp-card--schedule {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
}
.lp-card--schedule .lp-card__media {
  position: relative;
  overflow: hidden;
}
.lp-card--schedule .lp-card__media img {
  position: absolute;
  left: 21%;
  top: 70px;
  width: 63%;
  height: auto;
  transform: rotate(-10deg);
}
.lp-card--schedule .lp-stk {
  left: 60px;
  top: 50px;
  transform: rotate(-6deg);
}
.lp-card--schedule .lp-card__txt {
  display: flex;
  align-items: center;
  padding: 40px 40px 40px 10px;
}

/* Анонимная подслушка */
.lp-card--gossip {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  background: #fff;
}
.lp-card--gossip .lp-card__media {
  position: relative;
}
.lp-card--gossip .lp-card__media img {
  position: absolute;
  left: 5%;
  top: 34px;
  width: 95%;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(20, 20, 60, 0.12));
}
.lp-card--gossip .lp-card__txt {
  display: flex;
  align-items: flex-start;
  padding: 40px 30px 40px 40px;
}
.lp-card--gossip h3 {
  font-size: 38px;
}
.lp-card--gossip .lp-stk {
  left: 330px;
  bottom: 44px;
  transform: rotate(-4deg);
}

/* Вакансии */
.lp-card--jobs {
  display: grid;
  grid-template-rows: 288px minmax(0, 1fr);
}
/* Stack of vacancy cards, each offset down and slightly rotated; the bottom
   fades out so the crop into the text area has no hard edge. */
.lp-jobs {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 80%, transparent 100%);
  mask-image: linear-gradient(#000 80%, transparent 100%);
}
.lp-job {
  position: absolute;
  left: 8%;
  width: 84%;
  padding: 7% 8%;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 20, 60, 0.1);
  transform-origin: 50% 0;
}
.lp-job:nth-child(1) {
  top: 2%;
  transform: rotate(-4deg);
}
.lp-job:nth-child(2) {
  top: 14%;
  transform: rotate(3deg);
}
.lp-job:nth-child(3) {
  top: 26%;
  transform: rotate(-2deg);
}
.lp-job:nth-child(4) {
  top: 38%;
  transform: rotate(2deg);
}
.lp-job:nth-child(5) {
  top: 50%;
  transform: rotate(-1deg);
}
.lp-job__co {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a9aae;
}
.lp-job__logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-style: normal;
  font-weight: 800;
  font-size: 10px;
  color: #fff;
}
.lp-job__logo svg {
  width: 12px;
  height: 12px;
}
.lp-job__logo--campus {
  background: #6d5ce6;
}
.lp-job__logo--skyeng {
  background: #16b1ff;
}
.lp-job__logo--samokat {
  background: #ff3c78;
}
.lp-job__logo--rostics {
  background: #fff;
  color: #1c1c28;
  border: 1.5px solid #1c1c28;
  font-family: Georgia, serif;
}
.lp-job__logo--avito {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 3px;
  background: transparent;
}
.lp-job__logo--avito b {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.lp-job__logo--avito b:nth-child(1) {
  background: #00aaff;
}
.lp-job__logo--avito b:nth-child(2) {
  background: #ff4053;
}
.lp-job__logo--avito b:nth-child(3) {
  background: #965eeb;
}
.lp-job__logo--avito b:nth-child(4) {
  background: #04e762;
}
.lp-job__title {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #1c1c28;
}
.lp-job__pay {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 500;
  color: #1c1c28;
}
.lp-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.lp-job__tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f1f5;
  font-size: 9px;
  font-weight: 500;
  color: #8a8aa0;
  white-space: nowrap;
}
.lp-job__btn {
  margin-top: 10px;
  padding: 7px 0;
  border-radius: 10px;
  background: #6273f2;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.lp-card--jobs .lp-card__txt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  padding: 30px;
}
.lp-card--jobs h3 {
  font-size: 24px;
  font-weight: 800;
}
.lp-card--jobs p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.28;
}

/* Скидки для студентов */
.lp-card--discounts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
}
.lp-card--discounts .lp-card__txt {
  display: flex;
  align-items: center;
  padding: 40px 20px 40px 50px;
}
.lp-card--discounts .lp-card__media {
  position: relative;
}
.lp-card--discounts .lp-card__media img {
  position: absolute;
  left: 6%;
  top: 50%;
  width: 82%;
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 12px 24px rgba(20, 20, 60, 0.13));
}

/* ───── Testimonials ───── */
.lp-reviews {
  padding: 100px 0 0;
}
.lp-h2 {
  font-family: var(--lp-font);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--lp-ink);
  margin-bottom: 60px;
}
.lp-tgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 405px));
  justify-content: space-between;
  row-gap: 80px;
  column-gap: 40px;
  padding: 0 10px;
}
.lp-tst {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.lp-tst__stars {
  color: #000;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.lp-tst q {
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  quotes: "“" "”";
}
.lp-tst__ft {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.lp-tst__ft b {
  flex: 1;
  font-weight: 600;
  font-size: 16px;
}
.lp-tst__ft i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9d0ff, #7e8cf6);
}
.lp-dl {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

/* ───── Tablet ≤1000px ───── */
@media (max-width: 1000px) {
  .lp-hero__title {
    font-size: 56px;
  }
  .lp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
  }
  .lp-card--2 {
    grid-column: span 1;
  }
  .lp-card--4,
  .lp-card--6 {
    grid-column: span 2;
  }
  .lp-card--today .lp-card__txt {
    padding: 40px 8px 0 36px;
  }
  .lp-card--schedule {
    grid-template-columns: 46% minmax(0, 1fr);
  }
  .lp-card--schedule .lp-card__media img {
    left: 10%;
    top: 90px;
    width: 58%;
  }
  .lp-card--schedule .lp-stk {
    left: 16px;
    top: 36px;
  }
  .lp-card--gossip .lp-card__media img {
    top: 44px;
  }
  .lp-card--schedule h3,
  .lp-card--discounts h3 {
    font-size: 34px;
  }
  .lp-card--gossip {
    grid-template-columns: 46% minmax(0, 1fr);
  }
  .lp-card--gossip .lp-stk {
    left: auto;
    right: 30px;
  }
  .lp-card--discounts {
    grid-template-columns: minmax(0, 1fr) 54%;
  }
  .lp-card--discounts .lp-card__media img {
    left: 2%;
    width: 92%;
  }
  .lp-tgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 48px;
  }
}

/* ───── Mobile ≤640px ───── */
@media (max-width: 640px) {
  .lp-container {
    padding: 0 16px;
  }
  .lp-hero {
    padding-top: 44px;
  }
  .lp-hero__title {
    font-size: 42px;
  }
  .lp-hero--org .lp-hero__title {
    font-size: 30px;
  }
  .lp-hero__sub {
    font-size: 18px;
    margin-top: 14px;
  }
  .lp-hero__media {
    width: min(300px, 100%);
    margin-top: 28px;
  }
  .lp-stk {
    font-size: 17px;
    padding: 9px 16px;
  }
  .lp-stk--md,
  .lp-stk--sm,
  .lp-stk--xs {
    font-size: 14px;
    padding: 7px 14px;
  }
  .lp-hero__stk-1 {
    left: -28px;
    top: 24px;
  }
  .lp-hero__stk-2 {
    right: -50px;
    top: 120px;
  }
  .lp-hero__stk-3 {
    right: -30px;
    top: 200px;
  }
  .lp-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .lp-card--2,
  .lp-card--4,
  .lp-card--6 {
    grid-column: span 1;
  }
  .lp-card {
    height: auto;
    min-height: 420px;
    border-radius: 40px;
  }
  .lp-card h3 {
    font-size: 30px;
  }
  .lp-card p {
    font-size: 16px;
  }
  .lp-card--today {
    height: auto;
    aspect-ratio: 0.78;
  }
  .lp-card--today .lp-card__txt {
    width: 100%;
    padding: 28px 24px 0;
    text-align: center;
  }
  .lp-card--today h3 {
    font-size: 30px;
  }
  .lp-card--today__img {
    left: 50%;
    right: auto;
    top: 150px;
    width: 86%;
    margin-left: -43%;
  }
  .lp-card--reviews {
    min-height: 0;
  }
  .lp-tags {
    padding-top: 16px;
  }
  .lp-card--reviews .lp-card__txt {
    padding-top: 28px;
  }
  .lp-card--schedule {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--schedule .lp-card__media {
    aspect-ratio: 1 / 1;
  }
  .lp-card--schedule .lp-card__media img {
    left: 50%;
    top: 40px;
    width: 70%;
    margin-left: -35%;
  }
  .lp-card--schedule .lp-stk {
    left: 16px;
    top: 24px;
  }
  .lp-card--schedule .lp-card__txt,
  .lp-card--gossip .lp-card__txt,
  .lp-card--discounts .lp-card__txt {
    padding: 8px 28px 32px;
  }
  .lp-card--gossip {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--gossip .lp-card__media {
    padding: 28px 0 8px;
  }
  .lp-card--gossip .lp-card__media img {
    position: static;
    display: block;
    width: 78%;
    margin: 0 auto;
  }
  .lp-card--gossip h3 {
    font-size: 30px;
  }
  .lp-card--gossip .lp-stk {
    position: static;
    display: inline-block;
    justify-self: start;
    margin: 0 28px 28px;
    transform: rotate(-3deg);
  }
  .lp-card--jobs {
    grid-template-rows: auto auto;
  }
  .lp-jobs {
    aspect-ratio: 1.25;
  }
  .lp-job {
    left: 12%;
    width: 76%;
    padding: 18px 20px;
  }
  .lp-card--jobs .lp-card__txt {
    justify-content: flex-start;
    text-align: left;
    padding: 20px 28px 32px;
  }
  .lp-card--discounts {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .lp-card--discounts .lp-card__txt {
    padding: 32px 28px 8px;
  }
  .lp-card--discounts .lp-card__media {
    padding: 0 0 24px;
  }
  .lp-card--discounts .lp-card__media img {
    position: static;
    display: block;
    width: 90%;
    margin: 0 auto;
    transform: none;
  }
  .lp-reviews {
    padding-top: 64px;
  }
  .lp-h2 {
    margin-bottom: 36px;
  }
  .lp-tgrid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 36px;
    padding: 0;
  }
  .lp-tst q {
    font-size: 16px;
  }
  .lp-dl {
    padding: 44px 0;
  }
}

/* ───── Schedule widget: same vibe as the landing (pills, 24px card, blue accent).
   Scoped under .schedule so it beats the template's inline rules and campus-ui.css. ───── */
.schedule {
  background: var(--lp-bg);
  font-family: var(--lp-font);
}
.schedule .schedule-table {
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.04), 0 20px 50px rgba(20, 20, 60, 0.05);
}
.schedule .sched-filters {
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 0;
}
.schedule .dd-trigger {
  height: 46px;
  min-height: 46px;
  min-width: 170px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #e5e6ee;
  border-radius: 999px;
  background: #fff;
  color: var(--lp-ink);
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 600;
}
.schedule .dd-trigger:hover,
.schedule .dd-trigger.open,
.schedule .dd-wrap.open .dd-trigger {
  border-color: var(--lp-blue);
  border-radius: 999px;
}
.schedule .dd-icon {
  color: #3a3a4a;
}
.schedule .dd-swap {
  color: #9a9aae;
}
.schedule .dd-menu {
  top: calc(100% + 8px);
  min-width: 240px;
  border: 1px solid #e5e6ee;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(20, 30, 60, 0.14);
}
.schedule .dd-search {
  padding: 12px 16px;
  background: #f8f9ff;
  border-bottom: 1px solid #eeeff5;
  font-family: var(--lp-font);
  font-size: 14px;
}
.schedule .dd-item {
  padding: 10px 16px;
  font-family: var(--lp-font);
  font-size: 14px;
  font-weight: 500;
}
.schedule .dd-item:hover {
  background: #f3f4fa;
}
.schedule .dd-item.selected {
  color: var(--lp-blue);
  font-weight: 700;
}
.schedule #schedule-download-btn {
  height: 47px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--lp-font);
  font-size: 16px;
  font-weight: 600;
}
.schedule .sched-date-btn {
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 15px;
  font-weight: 700;
}
.schedule .sched-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid #e5e6ee;
}
.schedule .sched-arrow polyline {
  stroke: #6b6b80;
}
.schedule .sched-grid {
  border-top: 1px solid #eeeff5;
}

/* ── Idle / active states: only the pickers until a group is chosen, then the
   intro folds away and the week nav + schedule unfold. ── */
.schedule .schedule-table {
  transition: background 0.4s ease;
}
.schedule .schedule-table[data-state="idle"] {
  background:
    radial-gradient(55% 90% at 0% 0%, rgba(217, 221, 255, 0.55) 0%, rgba(217, 221, 255, 0) 60%),
    radial-gradient(45% 80% at 100% 100%, rgba(251, 217, 255, 0.45) 0%, rgba(251, 217, 255, 0) 60%),
    #fff;
}
.schedule .sched-intro {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}
.schedule .sched-intro__in {
  min-height: 0;
  overflow: hidden;
  padding: 36px 24px 4px;
  text-align: center;
  transition: padding 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.schedule .schedule-table[data-state="active"] .sched-intro {
  grid-template-rows: 0fr;
  opacity: 0;
}
.schedule .schedule-table[data-state="active"] .sched-intro__in {
  padding-top: 0;
  padding-bottom: 0;
}
.schedule .sched-intro__title {
  margin: 0;
  font-family: var(--lp-font);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lp-ink);
  text-align: center;
}
.schedule .sched-intro__title span {
  color: var(--lp-blue);
}

/* Pickers sit in a soft tray with step numbers while nothing is chosen. */
.schedule .sched-filters {
  transition: background 0.35s ease, margin 0.35s ease, padding 0.35s ease, border-radius 0.35s ease;
}
.schedule .schedule-table[data-state="idle"] .sched-filters {
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 16px auto 24px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(243, 244, 250, 0.9);
  counter-reset: step;
}
.schedule .dd-trigger {
  transition: border-color 0.15s, height 0.35s ease, min-width 0.35s ease, box-shadow 0.35s ease;
}
.schedule .schedule-table[data-state="idle"] .dd-trigger {
  height: 54px;
  min-width: 210px;
  padding: 0 18px;
  border-color: transparent;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(20, 20, 60, 0.06), 0 8px 20px rgba(20, 20, 60, 0.07);
}
.schedule .schedule-table[data-state="idle"] .dd-trigger:hover,
.schedule .schedule-table[data-state="idle"] .dd-wrap.open .dd-trigger {
  border-color: var(--lp-blue);
}
.schedule .dd-wrap .dd-trigger {
  transition: border-color 0.15s, height 0.35s ease, min-width 0.35s ease, box-shadow 0.35s ease, opacity 0.25s ease;
}
.schedule .dd-wrap.is-locked .dd-trigger {
  opacity: 0.45;
  pointer-events: none;
}
.schedule .dd-wrap.is-locked::after {
  opacity: 0.45;
}
.schedule .schedule-table[data-state="idle"] .dd-wrap::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -8px;
  left: -4px;
  z-index: 2;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
}
.schedule .schedule-table[data-state="idle"] .sched-date-nav {
  display: none;
}
.schedule .sched-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.schedule .sched-body__in {
  min-height: 0;
  overflow: hidden;
}
.schedule .schedule-table[data-state="active"] .sched-body {
  grid-template-rows: 1fr;
}
@media (prefers-reduced-motion: reduce) {
  .schedule .sched-intro,
  .schedule .sched-body {
    transition: none;
  }
}
.schedule .sched-table th {
  padding: 12px 10px;
  border-bottom: 1px solid #eeeff5;
  color: #4a4a5e;
  font-size: 12px;
  font-weight: 500;
}
.schedule .sched-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #eeeff5;
}
.schedule .sched-table td.time-col {
  padding: 12px 10px;
  color: #5b5b72;
  font-size: 12px;
  font-weight: 500;
}
.schedule .week-badge {
  margin: 0 6px 0 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eeeff5;
  color: #4a4a5e;
  font-size: 11px;
  font-weight: 600;
}
.schedule .today-num {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lp-blue);
  font-weight: 700;
}
.schedule .sched-table th.today-col,
.schedule .sched-table td.today-col {
  background: #f5f6fb;
}
.schedule .sched-lesson,
.schedule .sched-lesson-blue,
.schedule .sched-lesson-purple {
  min-height: 70px;
  margin-bottom: 6px;
  padding: 8px;
  border-radius: 10px;
}
.schedule .sched-lesson {
  background: #e6e9ff;
}
.schedule .sched-lesson-blue {
  background: #dce6ff;
}
.schedule .sched-lesson-purple {
  background: #ecdfff;
}
.schedule .lesson-type,
.schedule .lesson-type-blue,
.schedule .lesson-type-purple {
  color: var(--lp-blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.schedule .lesson-type-purple {
  color: #8a4fd6;
}
.schedule .lesson-name {
  margin-top: 3px;
  color: #1c1c28;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.schedule .lesson-meta {
  margin-top: 3px;
  color: #7a7a90;
  font-size: 9px;
  line-height: 1.25;
}
.schedule .sched-empty,
.schedule .sched-loading {
  color: #8a8aa0;
  font-size: 15px;
  font-weight: 500;
}

/* Loading state: skeleton of the week grid + a bobbing sticker. */
.schedule .sched-skel {
  position: relative;
  display: grid;
  min-height: 400px;
  padding: 16px 20px 20px;
  box-sizing: border-box;
  overflow: hidden;
}
.schedule .sched-skel__grid {
  display: grid;
  grid-template-columns: 64px repeat(6, minmax(0, 1fr));
  grid-template-rows: auto repeat(4, minmax(0, 1fr));
  gap: 8px 8px;
  align-items: stretch;
  opacity: 0.85;
}
.schedule .sched-skel__head,
.schedule .sched-skel__time,
.schedule .sched-skel__cell {
  border-radius: 999px;
  background: #eeeff5;
}
.schedule .sched-skel__head {
  width: 62%;
  height: 12px;
  margin: 6px auto 10px;
}
.schedule .sched-skel__time {
  width: 46px;
  height: 10px;
  margin-top: 10px;
  align-self: start;
}
.schedule .sched-skel__cell {
  position: relative;
  min-height: 56px;
  border-radius: 10px;
  background: #e6e9ff;
  overflow: hidden;
  animation: schedSkelPulse 1.8s ease-in-out infinite;
}
.schedule .sched-skel__cell--blue {
  background: #dce6ff;
}
.schedule .sched-skel__cell--purple {
  background: #ecdfff;
}
.schedule .sched-skel__cell.is-empty {
  background: transparent;
  animation: none;
}
.schedule .sched-skel__cell::before,
.schedule .sched-skel__cell::after {
  content: "";
  position: absolute;
  left: 8px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}
.schedule .sched-skel__cell::before {
  top: 10px;
  width: 34%;
}
.schedule .sched-skel__cell::after {
  top: 24px;
  width: 70%;
}
.schedule .sched-skel__cell.is-empty::before,
.schedule .sched-skel__cell.is-empty::after {
  display: none;
}
.schedule .sched-skel__stk {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  padding: 12px 24px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--lp-lavender);
  color: var(--lp-blue);
  font-family: var(--lp-font);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 0 0 3px var(--lp-blue), 0 14px 34px rgba(20, 20, 90, 0.18);
  animation: schedSkelBob 1.8s ease-in-out infinite;
}
.schedule .sched-skel__stk i {
  font-style: normal;
  animation: schedSkelDot 1.2s ease-in-out infinite;
}
.schedule .sched-skel__stk i:nth-child(2) {
  animation-delay: 0.2s;
}
.schedule .sched-skel__stk i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes schedSkelPulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@keyframes schedSkelBob {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(-3deg);
  }
  50% {
    transform: translate(-50%, calc(-50% - 8px)) rotate(2deg);
  }
}
@keyframes schedSkelDot {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .schedule .sched-skel {
    min-height: 400px;
    padding: 12px 16px 16px;
  }
  .schedule .sched-skel__grid {
    grid-template-columns: 48px repeat(3, minmax(0, 1fr));
  }
  /* Only three day columns fit: drop the rest of each row. */
  .schedule .sched-skel__grid > :nth-child(7n + 5),
  .schedule .sched-skel__grid > :nth-child(7n + 6),
  .schedule .sched-skel__grid > :nth-child(7n + 7) {
    display: none;
  }
  .schedule .sched-skel__stk {
    font-size: 17px;
    padding: 10px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .schedule .sched-skel__cell,
  .schedule .sched-skel__stk,
  .schedule .sched-skel__stk i {
    animation: none;
  }
}

/* Failure state: illustration + title + retry, instead of a red line. */
.schedule .sched-fail {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
  padding: 40px 24px 48px;
  box-sizing: border-box;
  text-align: center;
  font-family: var(--lp-font);
}
.schedule .sched-fail__img {
  width: 154px;
  height: auto;
  margin-bottom: 8px;
}
.schedule .sched-fail__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
}
.schedule .sched-fail__sub {
  max-width: 340px;
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--lp-mute);
}
.schedule .sched-fail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--lp-blue);
  color: #fff;
  font-family: var(--lp-font);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.schedule .sched-fail__btn:hover {
  background: var(--lp-blue-deep);
}
.schedule .sched-fail__btn:active {
  transform: scale(0.98);
}
@media (max-width: 600px) {
  .schedule .sched-fail {
    min-height: 0;
    padding: 28px 16px 32px;
  }
  .schedule .sched-fail__img {
    width: 124px;
  }
  .schedule .sched-fail__title {
    font-size: 21px;
  }
  .schedule .sched-fail__sub {
    font-size: 15px;
  }
  .schedule .sched-fail__btn {
    width: 100%;
  }
}
.schedule .schedule-webinar {
  border-bottom: 0;
}
.schedule .schedule-webinar-card {
  margin: 0 20px 4px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef0ff 0%, #f5f6ff 100%);
}
.schedule .schedule-webinar-cta {
  background: var(--lp-blue);
}
.schedule .schedule-webinar-cta:hover {
  background: var(--lp-blue-deep);
}
@media (max-width: 600px) {
  .schedule .sched-filters {
    padding: 16px 16px 12px;
  }
  .schedule .sched-intro__in {
    padding: 28px 16px 6px;
  }
  .schedule .sched-intro__title {
    font-size: 28px;
  }
  .schedule .schedule-table[data-state="idle"] .sched-filters {
    width: auto;
    max-width: none;
    margin: 12px 12px 12px;
    padding: 10px;
    border-radius: 28px;
  }
  .schedule .schedule-webinar-card {
    margin: 0 16px 4px;
  }
}

/* ───── Mascot on «Скачать» hover ─────
   Fixed under the nav logo; darts in from behind the left edge, blinks, and
   holds a short note. Only on devices with a real hover. */
.lp-mascot {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1021px) {
  .lp-mascot {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    position: fixed;
    left: 80px;
    top: 104px;
    z-index: 90;
    pointer-events: none;
    /* Parked fully behind the left edge; JS only toggles .is-on. */
    transform: translateX(calc(-100% - 100px));
    transition: transform 0.28s cubic-bezier(0.5, 0, 0.9, 0.6);
    will-change: transform;
  }
  .lp-mascot.is-on {
    transform: translateX(0);
    transition: transform 0.55s cubic-bezier(0.2, 1.5, 0.4, 1);
  }
  .lp-mascot__body {
    position: relative;
    flex-shrink: 0;
    width: 92px;
  }
  .lp-mascot.is-on .lp-mascot__body {
    animation: lp-mascot-bob 2.6s ease-in-out 0.6s infinite;
  }
  @keyframes lp-mascot-bob {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(-3deg); }
  }
  .lp-mascot__img {
    display: block;
    width: 100%;
    height: auto;
  }
  /* Eyelids: body-coloured patches over the two eyes that scale down to blink.
     Positions are percentages of the source PNG (eyes at x 30–41 / 56–67,
     y 54–67 in a 110×152 image). */
  .lp-mascot__lid {
    position: absolute;
    top: 34.6%;
    width: 13%;
    height: 10.6%;
    border-radius: 40%;
    transform: scaleY(0);
    transform-origin: 50% 0;
  }
  .lp-mascot__lid--l {
    left: 26.2%;
    background: linear-gradient(180deg, #d3dfff, #b9c8ff);
  }
  .lp-mascot__lid--r {
    left: 49.8%;
    background: linear-gradient(180deg, #a9bbff, #93a6ff);
  }
  .lp-mascot.is-on .lp-mascot__lid {
    animation: lp-mascot-blink 3.4s ease-in-out 0.9s infinite;
  }
  @keyframes lp-mascot-blink {
    0%, 6%, 100% { transform: scaleY(0); }
    3% { transform: scaleY(1); }
    /* Occasional double blink. */
    60%, 66%, 72% { transform: scaleY(0); }
    63%, 69% { transform: scaleY(1); }
  }
  .lp-mascot__note {
    position: relative;
    margin-top: 6px;
    max-width: 210px;
    padding: 10px 14px 12px;
    border-radius: 18px 18px 18px 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(20, 20, 60, 0.14), 0 1px 2px rgba(20, 20, 60, 0.06);
    font-family: var(--lp-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--lp-ink);
    opacity: 0;
    transform: translateY(6px) scale(0.92);
    transform-origin: 0 100%;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .lp-mascot.is-on .lp-mascot__note {
    opacity: 1;
    transform: none;
    transition: opacity 0.25s ease 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lp-mascot,
  .lp-mascot.is-on {
    transition-duration: 0.01s;
  }
  .lp-mascot.is-on .lp-mascot__body,
  .lp-mascot.is-on .lp-mascot__lid {
    animation: none;
  }
}
