/* ОГЭ Trip: shared identity and isolated landing page. */
.topbar .brand-planet { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.topbar .brand { gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.8px; white-space: nowrap; }
.topbar .brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 2px; margin-top: 5px; }
body.trip-landing { padding-bottom: 0; }
.trip-landing #lesson { max-width: 1440px; min-height: 0; padding: 0; }
.trip-landing .screen, .trip-picker .screen { animation: none; }
.trip-landing .bottom-bar,
.trip-landing .toolbar > [data-action],
.trip-picker .toolbar > [data-action],
.trip-landing #classroom-navigation { display: none !important; }
.trip-hero .cta { border: 0; font-family: inherit; }
.trip-back { margin-bottom: 22px; }
@media (max-width: 600px) {
  .topbar .brand-planet { width: 49px; height: 49px; }
  .topbar .brand { font-size: 20px; gap: 5px; }
  .topbar .brand-sub { font-size: 9px; letter-spacing: 1.5px; }
}
    .trip-hero { --orbit-x: min(37vw, 485px); --orbit-y: 220px; --orbit-center: 300px; isolation: isolate; position: relative; min-height: 660px; padding: 64px 24px 72px; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
    .trip-hero .hero-icon { width: 260px; height: 260px; display: block; position: relative; z-index: 1; filter: drop-shadow(0 7px 10px rgb(36 85 239 / 8%)); }
    .trip-hero .hero-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .trip-hero h1 { position: relative; z-index: 1; margin: -48px 0 18px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(66px, 8.4vw, 112px); font-weight: 800; letter-spacing: -6px; line-height: 1.06; white-space: nowrap; }
    .trip-hero h1 .trip { color: var(--blue); }
    .trip-hero .intro { position: relative; z-index: 1; max-width: 470px; margin: 0; color: #656b7c; font-size: 20px; line-height: 1.5; text-wrap: balance; }
    .trip-hero .cta { position: relative; z-index: 1; margin-top: 28px; padding: 18px 29px; border-radius: 15px; background: var(--lime); color: #181d31; font-size: 16px; font-weight: 700; text-decoration: none; box-shadow: 0 5px 14px rgb(24 43 86 / 6%); transition: background .18s ease, box-shadow .18s ease; }
    .trip-hero .cta:hover { background: #cbed41; }
    .trip-hero .cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
    .trip-hero .emoji { position: absolute; z-index: 0; left: calc(50% + var(--x) * var(--orbit-x)); top: calc(var(--orbit-center) + var(--y) * var(--orbit-y)); transform: translate(-50%, -50%) rotate(var(--tilt)); font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; font-size: var(--size); line-height: 1; user-select: none; pointer-events: none; filter: drop-shadow(0 4px 7px rgb(24 43 86 / 7%)); }
    .trip-hero .flag-gb { --x: -.60; --y: -.84; --size: 68px; --tilt: -12deg; }
    .trip-hero .plane { --x: .60; --y: -.84; --size: 59px; --tilt: -9deg; }
    .trip-hero .smile { --x: -.97; --y: -.23; --size: 72px; --tilt: -10deg; }
    .trip-hero .flag-us { --x: .97; --y: -.23; --size: 68px; --tilt: 11deg; }
    .trip-hero .world { --x: -.95; --y: .48; --size: 57px; --tilt: -8deg; }
    .trip-hero .cool { --x: .95; --y: .48; --size: 63px; --tilt: 8deg; }
    .trip-hero .flag-ca { --x: -.70; --y: .98; --size: 50px; --tilt: 7deg; }
    .trip-hero .luggage { --x: .70; --y: .98; --size: 54px; --tilt: 10deg; }
    .trip-hero .palm { --x: .36; --y: 1.31; --size: 33px; --tilt: 8deg; }
    @media (max-width: 900px) {
      .trip-hero .flag-gb, .trip-hero .flag-us { --size: 57px; }
      .trip-hero .smile { --size: 62px; }
      .trip-hero .world { --size: 51px; }
      .trip-hero .cool { --size: 56px; }
    }
    @media (max-width: 600px) {
      .trip-hero { --orbit-x: 43vw; --orbit-y: 222px; --orbit-center: 260px; min-height: 620px; padding: 52px 20px 76px; }
      .trip-hero .hero-icon { width: 220px; height: 220px; }
      .trip-hero h1 { font-size: clamp(55px, 15vw, 80px); letter-spacing: -3px; margin: -40px 0 16px; }
      .trip-hero .intro { max-width: 340px; font-size: 17px; }
      .trip-hero .cta { margin-top: 26px; font-size: 15px; padding: 17px 26px; }
      .trip-hero .flag-gb { --x: -.8; --y: -.87; --size: 41px; }
      .trip-hero .plane { --x: .8; --y: -.92; --size: 38px; }
      .trip-hero .smile { --x: -.98; --y: -.31; --size: 36px; }
      .trip-hero .flag-us { --x: .98; --y: -.30; --size: 37px; }
      .trip-hero .world { --x: -.83; --y: 1.04; --size: 40px; }
      .trip-hero .cool { --x: .83; --y: 1.04; --size: 42px; }
      .trip-hero .flag-ca { --x: -.47; --y: 1.30; --size: 32px; }
      .trip-hero .luggage { --x: .47; --y: 1.30; --size: 32px; }
      .trip-hero .palm { --x: 0; --y: 1.47; --size: 27px; }
    }
    @media (max-width: 360px) {
      .trip-hero .intro { font-size: 16px; }
    }
    @media (prefers-reduced-motion: reduce) {
      .trip-hero .cta { transition: none; }
    }
.trip-hero .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.trip-hero { --journey-duration: 820ms; }
.trip-hero .hero-icon { transform-origin: 50% 52%; }
.trip-hero .planet-model { display: block; width: 100%; height: 100%; position: absolute; inset: 0; visibility: hidden; }
.trip-hero .model-ready .planet-model { visibility: visible; }
.trip-hero .model-ready img { visibility: hidden; }
.trip-hero.is-departing .hero-icon {
  animation: planet-depart var(--journey-duration) cubic-bezier(.4, 0, .2, 1) both;
  will-change: transform;
}
.trip-hero.is-departing .emoji {
  animation: emoji-depart var(--journey-duration) cubic-bezier(.22, 1, .36, 1) both;
  will-change: transform;
}
.trip-hero .cta[aria-disabled="true"] { cursor: progress; }
@keyframes planet-depart {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
@keyframes emoji-depart {
  from { transform: translate(-50%, -50%) rotate(var(--tilt)); }
  to { transform: translate(calc(-50% + var(--depart-x)), calc(-50% + var(--depart-y))) rotate(var(--tilt)); }
}
@media (prefers-reduced-motion: reduce) {
  .trip-hero.is-departing .hero-icon,
  .trip-hero.is-departing .emoji { animation: none; }
}
