@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Lora;
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/lora-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

.app-shell.cinema {
  --studio-gutter: clamp(24px, 7vw, 112px);
  --studio-header: 72px;
  --paper-cream: #f7edda;
  --ink: #28342b;
  --muted: #4c5546;
  --forest: #2c513b;
  --soft: #234b3020;
  --line: #66533d35;
  font-family: Manrope, system-ui, sans-serif;
  color-scheme: light;
  background: var(--paper-cream);
}

.cinema :focus-visible { outline-color: #2c513b; }
.cinema .studio-topbar .brand-mark { color: #30553e; }
.cinema .input::placeholder { color: #636858; }

.cinema .studio-content {
  --offer-accent: #87503b;
  --offer-line: #66533d45;
  --offer-gap: clamp(48px, 8vw, 126px);
  padding-inline: 0;
}

.cinema .studio-topbar {
  min-height: var(--studio-header);
  padding-inline: var(--studio-gutter);
  background: #f7eddaee;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.cinema .studio-topbar .top-actions .button {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 13px;
  white-space: nowrap;
}

.cinema .studio-nav-program {
  border: 1px solid #2c513b4d;
  border-radius: 8px;
  color: var(--forest);
}

.cinema .studio-nav-program:hover {
  background: #fffaef;
  text-decoration: none;
}

.studio-scene {
  min-height: clamp(540px, 75svh, 820px);
  padding: clamp(38px, 6vh, 64px) var(--studio-gutter) clamp(58px, 9vh, 90px);
  overflow: clip;
  background: var(--paper-cream);
}

.studio-scene::after {
  background: linear-gradient(0deg, var(--paper-cream), transparent 15%);
}

.studio-backdrop {
  position: absolute;
  inset: 0 0 0 31%;
  pointer-events: none;
  background: url("/papercraft-railway.webp") 58% center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%);
  mask-image: linear-gradient(90deg, transparent, #000 22%);
}

.studio-film {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

video.studio-film:not(.studio-film-playing) {
  opacity: 0;
}

.studio-film-fallback {
  position: absolute;
  inset: 0;
}

.studio-film[hidden] {
  display: none;
}

.studio-copy {
  width: min(51%, 710px);
}

.studio-copy h1 {
  color: #28352a;
  font-size: clamp(46px, 7vw, 110px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.072em;
}

.studio-copy h1 > span {
  display: block;
}

.studio-copy h1 em {
  display: block;
  margin-top: .07em;
  color: #805039;
  font-family: Lora, Georgia, serif;
  font-size: .82em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.066em;
}

.studio-copy p {
  max-width: 37ch;
  margin-top: clamp(20px, 3vw, 37px);
  color: #384438;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(15px, 2.3vw, 28px);
  margin-top: clamp(22px, 3.4vw, 40px);
}

.cinema .studio-cta,
.cinema .offer-login .button.dark {
  border: 1px solid #264a33;
  border-radius: 9px;
  background: #2c513b;
  color: #fff8e9;
  justify-self: start;
  min-height: 54px;
  margin: 0;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 2px 0 #203a29;
}

.cinema .studio-cta:hover,
.cinema .offer-login .button.dark:hover {
  background: #1f3b2b;
  color: #fff8e9;
  text-decoration: none;
}

.cinema .studio-secondary {
  min-height: 54px;
  padding-inline: 17px;
  border: 1px solid #2c513b5e;
  border-radius: 9px;
  background: #fff9edce;
  color: var(--forest);
  font-size: 15px;
  font-weight: 750;
}

.cinema .studio-secondary:hover {
  background: #fffaf1;
  border-color: var(--forest);
  text-decoration: none;
}

.offer-body {
  width: min(calc(100% - 2 * var(--studio-gutter)), 1300px);
  margin-inline: auto;
}

.offer-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2.6vw, 36px);
  margin-block: 0;
  padding: clamp(18px, 2.5vw, 30px) 0;
  border-block: 1px solid var(--offer-line);
  list-style: none;
}

.offer-facts li {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 21px);
  min-width: 0;
}

.offer-facts .icon {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  color: #805039;
}

.offer-facts strong,
.offer-facts span {
  display: block;
}

.offer-facts strong {
  color: var(--ink);
  font-size: clamp(15px, 1.55vw, 21px);
  line-height: 1.15;
}

.offer-facts span {
  margin-top: 5px;
  color: var(--muted);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.35;
}

.offer-section {
  margin-top: var(--offer-gap);
  scroll-margin-top: 96px;
}

.offer-section h2 {
  max-width: 22ch;
  color: var(--ink);
  font-size: clamp(31px, 4.3vw, 68px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.offer-section p {
  max-width: 55ch;
  color: var(--muted);
  font-size: clamp(15px, 1.24vw, 18px);
  line-height: 1.6;
}

.offer-copy > p, .offer-step h3 + p {
  margin-top: 14px;
}

.offer-demo, .offer-teacher, .offer-faq, .offer-interest, .offer-login {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(24px, 6vw, 90px);
}

.offer-demo {
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: center;
  row-gap: clamp(24px, 3.5vw, 46px);
}

.island-compare {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
}

.island-compare h3 {
  margin: 0;
  font-size: clamp(21px, 2.4vw, 32px);
  letter-spacing: -.025em;
}

.island-compare-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 2vw, 24px);
}

.island-compare figure { margin: 0; }

.island-compare img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;
  border-radius: 12px;
  background: #d7dbc3;
}

.island-compare figcaption {
  margin-top: 8px;
  font-size: clamp(13px, 1.35vw, 16px);
  font-weight: 750;
}

.offer-preview {
  min-width: 0;
}

.offer-preview .preview-frame {
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  min-height: 280px;
}

.offer-program {
  margin-top: clamp(42px, 6vw, 84px);
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.65vw, 24px);
  margin: clamp(20px, 3.3vw, 42px) 0 0;
  padding: 0;
  list-style: none;
}

.offer-step {
  min-width: 0;
  padding: clamp(18px, 2vw, 27px);
  border: 1px solid #6a50342c;
  border-radius: 13px;
  background: #fff7e8;
  box-shadow: 0 2px 0 #6a503412;
}

.offer-step .offer-step-label {
  width: fit-content;
  margin: 0 0 16px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #e9efdd;
  color: #33523c;
  font-size: 12px;
  font-weight: 800;
}

.offer-step h3 {
  font-size: clamp(19px, 1.75vw, 26px);
  font-weight: 800;
  line-height: 1.17;
  letter-spacing: -.027em;
}

.offer-step h3 + p {
  margin-top: 9px;
  font-size: clamp(14px, 1.2vw, 17px);
}

.offer-teacher {
  align-items: baseline;
  padding-block: clamp(24px, 4vw, 48px);
  border-block: 1px solid var(--offer-line);
}

.offer-teacher .offer-copy > p {
  margin-top: 0;
  font-size: clamp(17px, 1.66vw, 24px);
}

.offer-example {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 1fr);
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
  margin-top: clamp(24px, 4vw, 52px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--offer-line);
  border-radius: 13px;
  background: #e9efdd;
}

.offer-example h3 {
  font-size: clamp(23px, 3vw, 37px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.offer-example-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.offer-example-comparison > div {
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #2c513b32;
  border-radius: 9px;
  background: #fff7e8;
}

.offer-example-comparison dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.offer-example-comparison dd {
  margin: 4px 0 0;
  color: var(--forest);
  font-size: clamp(19px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.cinema .offer-program-cta { margin-top: 22px; }

.cinema .application-trigger--program { margin-top: 24px; }

.application-final {
  display: flex;
  justify-content: center;
  padding-block: clamp(36px, 6vw, 72px);
}

html:has(.application-dialog[open]) { overflow: hidden; }

.application-dialog {
  width: min(440px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid #cbb595;
  border-radius: 20px;
  background: #fff7e8;
  color: #243e30;
  box-shadow: 0 20px 65px #211b144d;
}

.application-dialog::backdrop {
  background: #211c15aa;
  backdrop-filter: blur(3px);
}

.application-panel {
  position: relative;
  padding: clamp(20px, 5vw, 32px);
}

.application-panel h2 {
  margin: 0 38px 8px 0;
  font-size: clamp(24px, 5.8vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.application-panel > p {
  margin: 0 0 22px;
  color: #5c5649;
  font-size: 14px;
  line-height: 1.5;
}

.application-close {
  position: absolute;
  inset: 12px 12px auto auto;
  margin: 0;
}

.application-close button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #314438;
  cursor: pointer;
}

.application-close button:hover { background: #eee2cb; }

.application-channels {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.application-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 9px 12px;
  border: 1px solid #d4c5a9;
  border-radius: 11px;
  background: #fffdf6;
  color: #243e30;
  text-decoration: none;
}

a.application-channel:hover {
  border-color: #52735c;
  background: #f5f6ea;
  text-decoration: none;
}

.application-channel--pending { background: #f5ebd9; }

.application-channel-name {
  display: grid;
  flex: 1;
  gap: 2px;
  line-height: 1.25;
}

.application-channel-name small {
  color: #5c5649;
  font-size: 12px;
}

.application-mark {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
}

.application-mark svg { width: 23px; height: 23px; }
.application-mark--vk { background: #0077ff; }
.application-mark--telegram { background: #1886b7; }
.application-mark--max { background: linear-gradient(145deg, #2061ef, #6941d8); }
.application-channel--pending .application-mark { filter: saturate(.65); }

@media (max-width: 480px) {
  .cinema .studio-topbar--application .studio-nav-program { display: none; }
  .cinema .application-trigger--program, .cinema .application-trigger--final { width: 100%; }
}

.offer-questions details {
  border-bottom: 1px solid var(--offer-line);
}

.offer-questions details:first-child {
  border-top: 1px solid var(--offer-line);
}

.offer-questions summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 1px;
  color: var(--ink);
  font-size: clamp(15px, 1.38vw, 20px);
  font-weight: 690;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.offer-questions summary::-webkit-details-marker {
  display: none;
}

.offer-questions summary::after {
  content: "";
  align-self: center;
  width: 8px;
  height: 8px;
  margin: 0 5px 4px 0;
  flex: 0 0 auto;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  color: var(--offer-accent);
  transform: rotate(45deg);
}

.offer-questions details[open] summary::after {
  margin-block: 4px 0;
  transform: rotate(225deg);
}

.offer-questions details > p {
  padding: 0 20px 16px 1px;
}

.offer-interest {
  position: relative;
  isolation: isolate;
}

.offer-interest::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -26% -5% -30%;
  background: radial-gradient(ellipse at 55% 54%, #e0bb893d, transparent 69%);
  pointer-events: none;
}

.interest-form {
  display: grid;
  max-width: 510px;
  gap: 14px;
}

.cinema .interest-form .field {
  gap: 5px;
  color: var(--ink);
  font-size: 14px;
}

.interest-form .input, .offer-login .input {
  min-height: 44px;
  font-size: 16px;
}

.interest-form .check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.5;
  cursor: pointer;
}

.interest-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #2c513b;
}

.interest-form .interest-status {
  font-size: 14px;
}

.interest-form .interest-status[data-error="true"] {
  color: #8c3026;
}

.interest-form .interest-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.offer-login {
  position: relative;
  padding-top: clamp(28px, 4vw, 53px);
  border-top: 1px solid var(--offer-line);
}

.offer-login h2 {
  font-size: clamp(27px, 3vw, 45px);
}

.offer-login .button {
  min-height: 44px;
}

.lead-list > summary {
  min-height: 44px;
  padding-block: 9px;
  font-weight: 710;
  cursor: pointer;
}

.lead-list > ul {
  padding: 0;
  list-style: none;
}

.lead-entry {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5px 15px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.lead-entry span {
  overflow-wrap: anywhere;
}

.lead-entry time {
  color: var(--muted);
}

@media (max-width: 900px) {
  .offer-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .cinema .studio-topbar .top-actions {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .cinema .studio-topbar .top-actions .button {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .cinema .studio-nav-program .icon {
    width: 13px;
    height: 13px;
  }

  .app-shell.cinema { --studio-header: 61px; }

  .studio-scene {
    min-height: 0;
    padding: 24px var(--studio-gutter) 31px;
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-scene::after { content: none; }

  .studio-backdrop {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    min-width: 0;
    height: clamp(218px, 62vw, 350px);
    margin: 4px calc(-1 * var(--studio-gutter)) 10px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 17%, #000 93%, transparent);
    mask-image: linear-gradient(0deg, transparent 0%, #000 17%, #000 93%, transparent);
  }

  .studio-film { object-position: 56% center; }
  .studio-backdrop { background-position: 56% center; }

  .studio-copy { display: contents; }

  .studio-copy h1 {
    position: relative;
    z-index: 1;
    grid-area: 1 / 1;
    font-size: clamp(33px, 10.9vw, 67px);
  }

  .studio-copy p { grid-area: 3 / 1; margin-top: 0; }

  .studio-actions {
    grid-area: 4 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 20px;
  }

  .studio-actions .button { width: 100%; }

  .cinema .studio-actions .button, .cinema .interest-form .studio-cta {
    min-height: 50px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .offer-facts {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .offer-section {
    scroll-margin-top: 78px;
  }

  .offer-demo, .offer-teacher, .offer-faq, .offer-interest, .offer-login {
    grid-template-columns: 1fr;
  }

  .offer-example { grid-template-columns: 1fr; }

  .offer-section h2 {
    text-wrap: initial;
  }

  .offer-preview .preview-frame {
    min-height: 200px;
  }
}

@media (max-width: 490px) {
  .offer-steps {
    grid-template-columns: 1fr;
  }

  .offer-step .offer-step-label { margin-bottom: 10px; }
}

@media (max-width: 365px) {
  .cinema .studio-topbar {
    flex-wrap: wrap;
    gap: 0;
  }

  .cinema .studio-topbar .brand-mark {
    width: 23px;
  }

  .cinema .studio-topbar .brand {
    font-size: 12px;
  }

  .cinema .studio-topbar .top-actions .button {
    padding-inline: 4px;
    font-size: 10.5px;
  }

  .offer-section {
    scroll-margin-top: 104px;
  }
}

.world-demo-link span {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #fff2d580;
  border-radius: 8px;
  background: #162c23e8;
}

.world-demo-link {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  min-width: 0;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 3vw, 36px);
  border-radius: 16px;
  background: #102529;
  color: #fff2d5;
  text-decoration: none;
  font-weight: 700;
}

.world-demo-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.world-demo-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #07191bef, transparent 70%);
}

.world-demo-link:hover span { background: #2c513b; }
.world-demo-link:focus-visible {
  outline: 2px solid #ffda91;
  outline-offset: 5px;
}
