.landing-page {
  --landing-ink: #27221f;
  --landing-muted: #5f534d;
  --landing-paper: #faf6f0;
  --landing-border: #e9ddd4;
  --landing-accent: #973e28;
  color: var(--landing-ink);
}
.landing-main { padding-top: var(--header-height); }
.landing-page .header:not(.is-scrolled)::before { background-color: #fffcf8; }
.landing-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-bottom: clamp(48px, 6.5vw, 94px);
  background: #fffcf8;
}
.landing-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -24% 0 0;
  background: radial-gradient(ellipse at 94% 42%, #ffe2d4, #fff1e5 38%, transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .landing-hero::before { translate: 0 var(--scene-offset, 0px); }
  .landing-hero-grid { animation: hero-arrive 550ms cubic-bezier(.2,.7,.25,1) both; }
  .landing-hero-grid > .landing-preview { translate: 0 calc(var(--scene-offset, 0px) * -.35); }
}
.landing-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
  padding-block: 18px 30px;
  color: var(--landing-muted);
  font-size: 14px;
  font-weight: 500;
}
.landing-breadcrumbs a:hover { color: var(--landing-accent); text-decoration: underline; }
.landing-breadcrumbs [aria-current] { color: var(--landing-ink); font-weight: 650; }
.landing-hero-grid,
.landing-result {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}
.landing-hero-grid--text { display: block; max-width: 1000px; }
.landing-hero h1 {
  font-size: clamp(42px, 5.35vw, 77px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 630;
  overflow-wrap: anywhere;
}
.landing-hero-copy > p {
  max-width: 580px;
  margin: 21px 0 0;
  color: var(--landing-muted);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 400;
  line-height: 1.47;
}
.landing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 21px; margin-top: 27px; }
.landing-cta {
  min-height: 54px;
  padding: 12px 23px;
  border: 1px solid #dc9a80;
  border-radius: 50px;
  background: linear-gradient(155deg, #fff8f3 8%, #ffd1bb 96%);
  box-shadow: inset 0 1px 0 #ffffffd9, 0 7px 17px #8a432219;
  color: #3f2419;
  font-size: 17px;
  font-weight: 700;
}
.landing-cta:hover { border-color: #a65039; background: #ffd5c3; }
.landing-text-link {
  display: inline;
  color: var(--landing-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 16px;
  font-weight: 650;
}
.landing-text-link:hover { color: #5f2517; }
.landing-section { padding-block: var(--section-space); }
.landing-section--soft { background: var(--landing-paper); }
.landing-heading { max-width: 740px; margin-bottom: var(--content-space); }
.landing-heading h2,
.landing-end h2 {
  font-size: clamp(31px, 4.1vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.034em;
  overflow-wrap: anywhere;
}
.landing-heading p {
  margin: 14px 0 0;
  color: var(--landing-muted);
  font-size: clamp(17px, 1.65vw, 22px);
  font-weight: 400;
  line-height: 1.5;
}
.landing-narrow { max-width: 940px; }
.landing-workflow {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
}
.landing-workflow-copy { display: grid; gap: 16px; }
.landing-brief, .landing-message {
  padding: clamp(17px, 2.15vw, 28px);
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  color: var(--landing-ink);
  background: #fffdfa;
}
.landing-brief h3, .workflow-preview > h3 {
  font-size: 22px;
  font-weight: 650;
  margin-bottom: 10px;
}
.landing-brief p, .landing-message p {
  margin: 0 0 12px;
  color: var(--landing-muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}
.landing-message p { margin: 4px 0 0; }
.landing-message { background: #fff2e9; }
.landing-message strong { font-weight: 650; font-size: 16px; }
.landing-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 28px);
}
.landing-media-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.landing-media-grid:has(> :only-child) { grid-template-columns: minmax(0, 820px); }
.landing-preview-image { width: 100%; height: auto; }
.landing-media-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 20px;
  background: #fffdfa;
}
.landing-media-card img, .landing-media-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--landing-paper);
}
.landing-media-card .landing-media-photo { object-fit: cover; object-position: center 33%; }
.landing-media-card figcaption {
  display: grid;
  justify-items: start;
  gap: 5px;
  padding: 15px clamp(14px, 2vw, 23px) 18px;
  border-top: 1px solid var(--landing-border);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 650;
  line-height: 1.25;
}
.landing-media-credit { color: var(--landing-muted); font-size: 14px; font-weight: 500; }
.landing-preview {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--landing-border);
  border-radius: 17px;
  background: #fffdfa;
  box-shadow: 0 12px 34px #592d2010;
}
.landing-preview figcaption {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--landing-border);
  color: #5d4d44;
  background: #fffdfa;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}
.preview-dots { display: flex; align-items: center; flex: none; gap: 4px; }
.preview-dots i { width: 5px; height: 5px; border-radius: 50%; background: #bd9c88; }
.course-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  align-items: center;
  gap: 8px;
  min-height: 240px;
  padding: clamp(20px, 4.2cqi, 46px);
  overflow: hidden;
  color: #fff3e6;
  background: radial-gradient(ellipse at 92% 15%, #643f47, transparent 65%), #30212d;
}
.landing-preview { container-type: inline-size; }
.course-cover--compact { min-height: 174px; }
.course-cover-copy { z-index: 1; min-width: 0; }
.course-cover-label {
  color: #ffd1bb;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}
.course-cover-title {
  margin: 8px 0 14px;
  font-size: clamp(23px, 6.7cqi, 58px);
  font-weight: 700;
  line-height: .99;
  letter-spacing: -.032em;
  overflow-wrap: anywhere;
}
.course-cover-note, .course-cover-note:last-child {
  max-width: 410px;
  margin: 0;
  color: #f2dacb;
  font-size: clamp(13px, 2.8cqi, 18px);
  font-weight: 400;
  line-height: 1.38;
}
.course-cover .course-enroll { margin-top: 14px; }
.course-cover .course-enroll + .course-cover-note { margin-top: 12px; }
.course-art {
  position: relative;
  min-width: 0;
  aspect-ratio: .82;
  display: grid;
  place-items: center;
  color: #ffc5a8;
  background: repeating-linear-gradient(0deg, transparent 0 calc(25% - 1px), #ffbb9d46 calc(25% - 1px) 25%);
}
.course-art::before {
  position: absolute;
  inset: 2% 6%;
  border: 1px solid #ecaa965e;
  border-radius: 49% 10% 43% 14%;
  content: "";
  transform: rotate(9deg);
}
.course-art span {
  font: italic 400 clamp(36px, 17cqi, 153px)/.8 Georgia, serif;
  letter-spacing: -.1em;
  transform: translateX(-.04em) rotate(-8deg);
}
.course-art i {
  position: absolute;
  top: 9%;
  right: 10%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffc5a8;
}
.course-enroll {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 7px;
  color: #3f2419;
  background: #ffc4a9;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}
.course-enroll:hover { background: #ffd5c2; }
.compare-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 13px;
  padding: 4px;
  border: 1px solid var(--landing-border);
  border-radius: 50px;
  background: #f8eee6;
}
.compare-switch label { position: relative; }
.compare-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.compare-switch span {
  display: block;
  cursor: pointer;
  padding: 8px 13px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}
.compare-switch input:checked + span { color: #fff7f0; background: #40302d; }
.compare-switch input:focus-visible + span { outline: 2px solid #a4432e; outline-offset: 2px; }
.landing-comparison:has([value="before"]:checked) .compare-panel--after,
.landing-comparison:has([value="after"]:checked) .compare-panel--before { display: none; }
.compare-panel { animation: compare-in .28s ease-out both; }
@keyframes compare-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.sample-price {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 8px 16px;
  border-top: 1px solid #f0d2bf;
  padding: 16px clamp(15px, 4cqi, 27px);
  color: #432e27;
  background: #fff3e9;
  font-size: 15px;
}
.sample-price strong, .sample-price span { display: block; }
.sample-price span { color: #6f5042; font-size: 12px; font-weight: 650; }
.sample-price strong { font-size: 19px; }
.sample-price p { margin: 3px 0 0; }
.landing-scenarios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--content-space); }
.landing-scenario { min-width: 0; }
.landing-scenario h3 { margin: 16px 0 6px; font-size: clamp(22px, 2.4vw, 31px); font-weight: 650; }
.landing-scenario > p { margin: 0 0 10px; color: var(--landing-muted); font-size: 17px; font-weight: 400; }
.ad-cover {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  align-items: center;
  gap: 8px;
  min-height: 174px;
  padding: clamp(20px, 4.2cqi, 46px);
  overflow: hidden;
  background: #ffdece;
  color: #4a231d;
}
.ad-cover > div > span:first-child { display: block; font-size: 12px; font-weight: 650; line-height: 1.35; }
.ad-cover p {
  margin: 5px 0 10px;
  font-size: clamp(23px, 6.7cqi, 48px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.04em;
}
.ad-preview-action { padding: 8px 11px; background: #78372a; color: #fff5ed; border-radius: 7px; display: inline-block; font-size: 13px; font-weight: 650; }
a.ad-preview-action:hover { background: #582418; }
.workshop-cover-image { width: 100%; max-height: 280px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.course-page { padding: clamp(18px, 5cqi, 62px); background: #fff9f0; color: #34242e; }
.course-page-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(16px, 3cqi, 40px); margin-bottom: var(--content-space); }
.course-page h3 { margin-bottom: 7px; font-size: clamp(19px, 2.45cqi, 29px); font-weight: 680; }
.course-page p, .course-modules span { color: #584651; font-size: 17px; font-weight: 400; line-height: 1.45; }
.course-modules {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 0 0 var(--content-space);
  padding: 0;
  list-style: none;
  counter-reset: course-module;
}
.course-modules li { padding: 15px; border: 1px solid #eddbce; border-radius: 12px; }
.course-modules li::before {
  counter-increment: course-module;
  content: "Модуль " counter(course-module);
  display: block;
  margin-bottom: 7px;
  color: #973e28;
  font-size: 13px;
  font-weight: 700;
}
.course-modules strong, .course-modules span { display: block; }
.course-modules strong { margin-bottom: 5px; font-size: 19px; font-weight: 680; }
.course-joining {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-block: 16px;
  border-top: 1px solid #eddbce;
}
.course-demo-note { padding: 13px 15px; border: 1px solid #e2c9b8; border-radius: 9px; background: #ffeede; }
.course-demo-note:target { border-color: #ae4e37; box-shadow: inset 3px 0 #ae4e37; }
.course-demo-note strong { display: block; font-weight: 680; }
.course-demo-note p { margin: 3px 0 0; }
.landing-checklist { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; }
.landing-checklist > div { padding: 18px; border: 1px solid var(--landing-border); border-radius: 12px; background: #fffdfa; }
.landing-checklist dt { margin-bottom: 5px; font-size: 20px; font-weight: 680; }
.landing-checklist dd { margin: 0; color: var(--landing-muted); font-size: 16px; font-weight: 400; line-height: 1.45; }
.course-page .landing-checklist { margin-bottom: var(--content-space); }
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: landing-step;
}
.landing-steps li {
  padding: 20px;
  border: 1px solid var(--landing-border);
  border-radius: 16px;
  background: #fffdfa;
}
.landing-steps li::before {
  counter-increment: landing-step;
  content: counter(landing-step);
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #ffe0d0;
  color: #873c29;
  font-size: 14px;
  font-weight: 700;
}
.landing-steps h3,
#more-prompts h3 { margin-bottom: 9px; font-size: 22px; font-weight: 680; }
.landing-steps p,
.landing-faq { border-top: 1px solid var(--landing-border); }
.landing-faq details { border-bottom: 1px solid var(--landing-border); }
.landing-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  list-style: none;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 620;
  cursor: pointer;
}
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: "+"; color: var(--landing-accent); font-size: 26px; transition: transform .2s; }
.landing-faq details[open] summary::after { transform: rotate(45deg); }
.landing-faq p { max-width: 800px; margin: 0 0 17px; color: var(--landing-muted); font-size: 18px; font-weight: 400; }
.landing-prompt { border: 1px solid var(--landing-border); border-radius: 15px; background: #2f2525; color: #fff4eb; }
.landing-prompt-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 9px 12px;
  padding: 13px clamp(15px,3vw,27px);
  border-bottom: 1px solid #785d53;
  color: #ffded1;
  font-size: 16px;
  font-weight: 650;
}
.landing-copy {
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid #f7b497;
  border-radius: 9px;
  background: #ffd0bc;
  color: #38241e;
  font-size: 15px;
  font-weight: 700;
}
.landing-copy:hover { background: #ffe0d3; }
.landing-prompt-text {
  margin: 0;
  padding: 20px clamp(15px,3vw,27px) 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 400 17px/1.55 TildaSans, Arial, sans-serif;
}
.landing-copy-status {
  min-height: 39px;
  margin: 0;
  padding: 0 clamp(15px,3vw,27px) 11px;
  color: #ffd3bd;
  font-size: 14px;
  font-weight: 600;
}
.landing-inline-next { display: inline-block; margin-top: 16px; }
.landing-result .landing-heading { margin-bottom: 12px; }
.landing-end { padding-block: var(--section-space); background: #ffdbca; }
.landing-end-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 26px; flex-wrap: wrap; }
.landing-next { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 16px; }
.landing-next-link {
  padding: 5px 0;
  color: #71331f;
  font-size: 17px;
  font-weight: 650;
  border-bottom: 1px solid #a16b55;
}
.landing-next-link:hover { color: #3c1b10; }

@media (max-width: 800px) {
  .landing-hero-grid, .landing-result, .landing-workflow { grid-template-columns: minmax(0, 1fr); }
  .landing-media-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-media-grid--three .landing-media-card:first-child { grid-column: 1 / -1; }
  .landing-breadcrumbs { padding-bottom: 23px; }
  .landing-hero-copy > p { margin-top: 15px; }
  .landing-actions { margin-top: 22px; }
  .landing-checklist { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 570px) {
  .landing-hero h1 { font-size: clamp(33px, 9.9vw, 47px); }
  .landing-hero-grid--text h1 { font-size: clamp(32px, 8.9vw, 45px); }
  .landing-scenarios, .landing-checklist, .course-modules, .course-page-intro { grid-template-columns: minmax(0,1fr); }
  .landing-media-grid, .landing-media-grid--three { grid-template-columns: minmax(0, 1fr); }
  .course-cover { min-height: 218px; }
  .course-cover--compact { min-height: 174px; }
  .landing-prompt-text { font-size: 16px; }
}
