/* Zemlya — надстройка над базовой вёрсткой (main.css): верхняя панель LLM Architects,
   вордмарк продукта, анимация заставки, макет отчёта на русском. */

:root {
  --topbar-h: 44px;
  --llma-red: #ef2b24;
  --s-lime: #D0FA98;
}

/* ───────── Верхняя панель LLM Architects ───────── */
.topbar {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto 0;
  height: var(--topbar-h);
  background: #102a20;
  color: #fff;
}
.topbar__inner {
  max-width: 1360px;
  height: 100%;
  margin: 0 auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__brand { display: inline-flex; align-items: center; color: #fff; }
.topbar__brand:hover { color: #fff; }
.topbar__logo { display: block; height: 28px; width: auto; color: #fff; overflow: visible; }
.topbar__logo .llma-dots { fill: var(--llma-red); }
.topbar__logo .llma-sub,
.site-intro__logo .llma-sub {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: .02em;
  fill: currentColor;
}
.topbar__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}
.topbar__all:hover { background: var(--s-lime); border-color: var(--s-lime); color: #183c2e; }
.topbar__all .s-icon { width: 1.4rem; height: 1.4rem; transition: transform .25s var(--s-ease, ease); }
.topbar__all:hover .s-icon { transform: translate(2px, -2px); }
.topbar a:focus-visible { outline: 2px solid var(--s-lime); outline-offset: 3px; }

/* Всё, что было приколото к верху окна, сдвигаем под панель */
.header { top: var(--topbar-h); }
.s-skip-link { z-index: 150; }
.hero { padding-top: calc(164px + var(--topbar-h)); }
@media only screen and (max-width: 1180px) { .hero { padding-top: calc(148px + var(--topbar-h)); } }
@media only screen and (max-width: 1024px) {
  .hero { padding-top: calc(120px + var(--topbar-h)); }
  .header__mobile { height: calc(100dvh - var(--topbar-h)); }
}
@media only screen and (max-width: 768px) {
  .hero { padding-top: calc(112px + var(--topbar-h)); }
}
@media only screen and (max-width: 768px) {
  :root { --topbar-h: 40px; }
  .topbar__inner { padding-inline: 20px; }
  .topbar__logo { height: 24px; }
  .topbar__all { padding: 0 10px; font-size: 1.2rem; }
}
@media only screen and (max-width: 520px) {
  .topbar__all-brand { display: none; }
}

/* ───────── Вордмарк продукта: сама надпись — логотип ───────── */
.brand-wordmark { display: block; width: 100%; height: auto; overflow: visible; }
.brand-wordmark .wm-text {
  font-family: Unbounded, Inter, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
  fill: #183c2e;
}
.brand-wordmark .wm-hl { fill: var(--s-lime); }
.header__logo { width: 126px; }
.s-footer-about .brand-wordmark { width: 126px; }
.s-footer-about .wm-hl { fill: #fff; }

/* ───────── Заставка: точки логотипа LLM Architects ───────── */
.site-intro__logo { width: 100%; height: auto; overflow: visible; display: block; color: #191919; }
.site-intro__logo .llma-dots circle {
  fill: var(--llma-red);
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  transform: scale(.2);
  animation: llma-dot-in .5s calc(.15s + var(--i) * .035s) cubic-bezier(.16, 1, .3, 1) forwards;
}
.site-intro__logo .llma-sub {
  opacity: 0;
  animation: llma-sub-in .7s 1.25s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes llma-dot-in { to { opacity: 1; transform: scale(1); } }
@keyframes llma-sub-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.site-intro__mark { width: min(300px, 56vw); }

/* ───────── Переключатель языка (кнопки вместо ссылок на другую страницу) ───────── */
.lang-btn { cursor: pointer; }

/* ───────── Макет отчёта (вместо польского скриншота) ───────── */
.s-report-screenshot svg.report-map { display: block; width: 100%; height: auto; background: #ece9e1; }
.s-report-screenshot svg text { font-family: Inter, system-ui, sans-serif; }

.rp-ui {
  position: relative;
  width: 2000px;
  height: 1129px;
  font-family: Inter, system-ui, sans-serif;
  color: #111;
  line-height: 1.3;
}
.rp-ui p, .rp-ui h4, .rp-ui h5, .rp-ui ul, .rp-ui li { margin: 0; padding: 0; list-style: none; }
.rp-ui * { box-sizing: border-box; }

.rp-top {
  position: absolute; left: 22px; top: 24px; width: 1956px; height: 84px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 36px 0 26px;
  background: #f7f5f1; border-radius: 22px;
  box-shadow: 0 8px 28px rgba(24, 60, 46, .12);
}
.rp-brand { font-family: Unbounded, Inter, system-ui, sans-serif; font-size: 30px; font-weight: 700; color: #183c2e; background: linear-gradient(transparent 58%, #D0FA98 58% 92%, transparent 92%); padding: 0 6px; }
.rp-title { font-size: 22px; font-weight: 700; }

.rp-step {
  position: absolute; left: 26px; top: 118px; width: 776px; height: 78px;
  display: flex; align-items: center; gap: 22px; padding: 0 14px 0 10px;
  background: rgba(247, 245, 241, .96); border-radius: 22px;
  box-shadow: 0 6px 22px rgba(24, 60, 46, .1);
  overflow: hidden;
}
.rp-step__n {
  width: 48px; height: 48px; border-radius: 12px; background: #D0FA98; color: #183c2e;
  display: grid; place-items: center; font-size: 22px; font-weight: 700; flex: none;
}
.rp-step__t { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.rp-step__t small { font-size: 17px; color: #536858; font-weight: 500; }
.rp-step__t b { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.rp-step__c { font-size: 18px; color: #536858; font-weight: 500; }
.rp-step__chev { width: 52px; height: 52px; border-radius: 12px; background: #D0FA98; position: relative; flex: none; }
.rp-step__chev::after { content: ""; position: absolute; left: 19px; top: 17px; width: 11px; height: 11px; border-right: 3px solid #183c2e; border-bottom: 3px solid #183c2e; transform: rotate(45deg); }
.rp-step__bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 54%; background: #b8e57c; }

.rp-card {
  position: absolute; left: 26px; top: 210px; width: 776px; height: 892px;
  background: #f7f5f1; border-radius: 30px; overflow: hidden;
  box-shadow: 0 14px 44px rgba(24, 60, 46, .16);
  padding: 46px 38px 0;
}
.rp-eyebrow { font-size: 17px; font-weight: 700; letter-spacing: .1em; color: #536858; }
.rp-h { margin-top: 18px !important; font-size: 48px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.rp-lead { margin-top: 24px !important; font-size: 23px; line-height: 1.45; color: #525252; }
.rp-legend { margin: 36px -38px 0; padding: 36px 38px 0; border-top: 1px solid #e6e2d8; }
.rp-legend h5, .rp-sub h5 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.rp-legend ul { margin-top: 24px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.rp-legend li { display: flex; align-items: center; gap: 16px; font-size: 19px; color: #525252; }
.lg { width: 44px; height: 36px; border-radius: 6px; flex: none; display: block; }
.lg--parcel { border: 3px dashed #2d4fd6; background: #f1ecb4; }
.lg--buffer { border: 3px dashed #e5702a; border-radius: 50%; background: #f9e6d6; }
.lg--res { background: #d9a97d; }
.lg--veg { background: #cfdc9a; }
.lg--hatch { background: repeating-linear-gradient(45deg, rgba(229,72,77,.65) 0 3px, rgba(229,72,77,.12) 3px 9px); border: 2px dashed #e5484d; }
.lg--water { background: repeating-linear-gradient(-30deg, rgba(74,144,217,.45) 0 2px, rgba(74,144,217,.14) 2px 8px); border: 2px dashed #4a90d9; }
.lg--ind { background: #a68bc2; }
.lg--srv { background: #bd7d58; }
.rp-sub { margin: 38px -38px 0; padding: 36px 38px 0; border-top: 1px solid #e6e2d8; }
.rp-sub__head { display: flex; align-items: center; gap: 16px; }
.rp-sub__n { background: #D0FA98; color: #183c2e; font-weight: 700; font-size: 18px; padding: 7px 12px; border-radius: 9px; }
.rp-sub p { margin-top: 22px !important; font-size: 22px; line-height: 1.45; color: #525252; }
.rp-stats { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #e6e2d8; border-radius: 14px; }
.rp-stats div { padding: 22px 24px 28px; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.rp-stats div + div { border-left: 1px solid #e6e2d8; }
.rp-stats span { font-size: 19px; font-weight: 700; color: #525252; }
.rp-stats b { font-size: 26px; font-weight: 500; text-align: center; }

/* Кнопка «Скачать PDF» и расположение элементов верхней панели макета */
.rp-pdf { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 30px; margin-left: auto; border-radius: 14px; background: #111; color: #fff; font-size: 21px; font-weight: 700; }
.rp-top .rp-brand { width: auto; }
.rp-top .rp-title { position: absolute; left: 50%; transform: translateX(-50%); }

/* ───────── Прочее ───────── */
.waitlist-message { margin-top: 12px; font-size: 1.4rem; line-height: 1.4; color: #183c2e; }
.waitlist-message.error { color: #9b2c2c; }

@media (prefers-reduced-motion: reduce) {
  .site-intro__logo .llma-dots circle, .site-intro__logo .llma-sub { animation: none; opacity: 1; transform: none; }
}

/* ───────── Русский заголовок длиннее английского: подбираем кегль ───────── */
html[lang="ru"] .hero__heading { font-size: clamp(5rem, 5.3vw, 7.6rem); }
html[lang="ru"] .hero__copy { max-width: 960px; }
@media only screen and (max-width: 1180px) { html[lang="ru"] .hero__heading { font-size: clamp(4.6rem, 6.6vw, 7rem); } }
@media only screen and (max-width: 768px) { html[lang="ru"] .hero__heading { font-size: clamp(2.6rem, 7.4vw, 5rem); } }
.topbar__logo .llma-dots circle { stroke: var(--llma-red); stroke-width: .8; }
