



@font-face {
  font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700;
  font-display: swap;
  src: url("/шрифты/SourceSerif4-VariableFont.ttf") format("truetype-variations");
}
@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 400 700;
  font-display: swap;
  src: url("/шрифты/PlayfairDisplay-VariableFont_wght.ttf") format("truetype-variations");
}

:root {
  --кора:    #3B2A1F;
  --шоколад: #4A3324;         
  --бумага:  #FFF8EC;
  --песок:   #D9C39B;
  --терракот:#B4714E;
  --кирпич:  #C0503C;
  --лист:    #8AA061;
  --дым:     #6B5648;
  --тень:    0 8px 28px rgba(59, 42, 31, .18);
  --скругление: 12px;   
  --поле: clamp(16px, 3.2vw, 56px);

  
  --стекло-заливка: .15;      
  --стекло-размытие: 3px;     
  --стекло-кант: .22;         
  
  --плашка-доля: .8;
  --плашка-форма: .92;        
  --иконка-доля: 72%;         
  --логотип: 116px;           
  --плашка-моб: 78px;         
  --логотип-моб: 56px;        
  --полоса-отступ: 3.5vh;     
  --слоган-низ: 3vh;          
  --слоган-кегль: 2.65vw;     
  --зазор-плашек: 1.1vw;
  --зазор-факт: clamp(8px, var(--зазор-плашек), 22px);
  --фон-точка: 50%;           
  --вуаль-верх: .5;           
  --вуаль-низ: .2;            
  --слоган-тень: .85;
}

:root[data-theme="зелень"] {
  --кора: #2A331F; --шоколад: #38422A; --бумага: #F4F3E7; --песок: #C0BBA0;
  --терракот: #697254; --кирпич: #B25545; --лист: #8C916C;
  --дым: #5E6552; --тень: 0 8px 28px rgba(42,51,31,.18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--кора); background: var(--бумага);
  
  padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px);
  
  font: var(--р-текст)/1.6 "Source Serif 4", Georgia, "Times New Roman", serif;   
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .засечки {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500; letter-spacing: .2px;
}
img { max-width: 100%; display: block; }


.экран {
  
  position: relative; min-height: calc(100svh - var(--лента, 0px));
  display: flex; flex-direction: column;
  background: #C8D8DF;
  
  overflow: hidden;
}

.подложка, .кадр { position: absolute; inset: 0; }
.подложка {
  filter: blur(34px) saturate(1.12) brightness(1.03);
  transform: scale(1.14);
}

.кадр { background-repeat: no-repeat; background-size: cover; }


@media (min-aspect-ratio: 1/1) {
  .подложка { background: url('/titul/fon.jpg') center/cover no-repeat; }
  .кадр { background-image: url('/titul/fon.jpg'); background-position: center var(--фон-точка); }
}

@media (max-aspect-ratio: 1/1) {
  .подложка { background: url('/titul/fon_vert.jpg') center/cover no-repeat; }
  .кадр { background-image: url('/titul/fon_vert.jpg'); background-position: 42% var(--фон-точка); }
}
.экран::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(59,42,31,var(--вуаль-верх)) 0%, rgba(59,42,31,.06) 34%,
                                      rgba(59,42,31,.06) 58%, rgba(59,42,31,var(--вуаль-низ)) 100%);
}
.экран > .шапка, .экран > .плашки, .экран > .слоган { position: relative; z-index: 2; }

.шапка {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  
  padding: clamp(6px, 1vw, 13px) var(--поле) clamp(14px, 2vw, 26px);
}
.имя { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); }

.имя img { width: clamp(calc(var(--логотип) * .65), 6.8vw, var(--логотип)); height: auto;
           filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.имя .строки { color: var(--бумага); text-shadow: 0 2px 14px rgba(59,42,31,.6); }
.имя b { display: block; font-family: "Playfair Display", Georgia, serif;
         font-weight: 500; font-size: clamp(22px, 2.9vw, 44px); line-height: 1.05; }
.имя span { display: block; font-size: clamp(11px, 1.05vw, 16px); opacity: .93; }

.кабинет {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: clamp(9px, 1vw, 14px) clamp(14px, 1.6vw, 26px); border-radius: 999px;
  
  background: linear-gradient(160deg, rgba(255,255,255,var(--стекло-заливка)),
                              rgba(255,248,236,calc(var(--стекло-заливка) * .4)));
  color: #fff; text-decoration: none; text-shadow: 0 1px 10px rgba(59,42,31,.75);
  font-size: clamp(13px, 1.05vw, 16px);
  border: 1px solid rgba(255,255,255,.5); border-top-color: rgba(255,255,255,.75);
  box-shadow: 0 8px 26px rgba(59,42,31,.18), inset 0 1px 0 rgba(255,255,255,.45);
  backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  transition: background .18s, transform .18s;
}
.кабинет:hover {
  transform: translateY(-1px);
  background: linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,248,236,.14));
}
.кабинет svg { width: 18px; height: 18px; flex: none; }
.вход-блок { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 22px); }



.плашки {
  --пл: clamp(var(--пл-мин), min(calc((100vw - 2 * var(--поле)) * var(--плашка-доля) / 5),
                                  calc((100svh - var(--лента, 0px) - var(--пл-прочее)) / (2 * var(--плашка-форма) + .12))),
              var(--пл-макс));
  --пл-мин: 120px; --пл-макс: 400px;
  --пл-прочее: 400px;   
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--зазор-факт) calc(var(--зазор-факт) * 2.2);
  padding: 0 var(--поле); box-sizing: border-box; width: 100%;
  max-width: calc(4 * var(--пл) + 3 * var(--зазор-факт) * 2.2 + 2 * var(--поле) + 2px); margin-inline: auto;
}

@media (pointer: coarse) {
  .плашки { --пл: clamp(var(--пл-мин), calc((100vw - 2 * var(--поле)) * var(--плашка-доля) / 5), var(--пл-макс)); }
}
.плашка {
  width: var(--пл); min-width: min-content; box-sizing: border-box; margin-inline: 0;   
  
  aspect-ratio: 1 / var(--плашка-форма);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(6px, .8vw, 14px); text-decoration: none;
  padding: clamp(10px, 1.2vw, 22px) clamp(6px, .8vw, 16px) clamp(12px, 1.1vw, 20px);
  
  background: linear-gradient(180deg, rgba(59,42,31,0) 52%, rgba(59,42,31,.38) 100%),
              linear-gradient(160deg, rgba(255,255,255,var(--стекло-заливка)),
                              rgba(255,248,236,calc(var(--стекло-заливка) * .4)));
  border: 1px solid rgba(255,255,255,var(--стекло-кант));
  border-top-color: rgba(255,255,255,.75);
  border-radius: 20px;   
  box-shadow: 0 8px 26px rgba(59,42,31,.18), inset 0 1px 0 rgba(255,255,255,.45);
  backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  color: #fff; text-shadow: 0 1px 10px rgba(59,42,31,.75);
  transition: transform .18s, background .18s, box-shadow .18s;
  
  will-change: transform;
}

@media (hover: hover) {
.плашка:hover {
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(59,42,31,0) 52%, rgba(59,42,31,.38) 100%),
              linear-gradient(160deg, rgba(255,255,255,.3), rgba(255,248,236,.14));
  box-shadow: 0 14px 34px rgba(59,42,31,.28), inset 0 1px 0 rgba(255,255,255,.6);
}
}
.плашка .лик {
  
  width: var(--иконка-доля); aspect-ratio: 1; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.плашка .лик img { width: 100%; height: 100%; object-fit: contain;
                   filter: drop-shadow(0 4px 10px rgba(59,42,31,.22)); }
.плашка b {
  
  font-size: clamp(11px, .95vw, 17px); font-weight: 600; text-align: center;
  line-height: 1.25; min-height: 2.5em; display: flex; align-items: center;
  white-space: nowrap;   
}


.слоган {
  
  margin-top: auto;
  padding: clamp(20px, 4vh, 60px) var(--поле) clamp(10px, var(--слоган-низ), 76px);
  color: var(--бумага); text-shadow: 0 3px 22px rgba(59,42,31,var(--слоган-тень));
}
.слоган p { max-width: 46ch; }
.пробы { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.проба-кнопка {
  display: inline-block; padding: 11px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--бумага);
  border: 1.5px solid rgba(255,248,236,.75);
  background: rgba(255,248,236,.14); backdrop-filter: blur(3px);
}
.проба-кнопка.главная { background: var(--терракот);
  border-color: var(--терракот); color: #fff; }
.проба-кнопка:hover { filter: brightness(1.08); }

.слоган h1 { margin: 0; font-size: clamp(18px, var(--слоган-кегль), 42px); line-height: 1.1; }

.слоган .нить {
  display: block; font-size: clamp(18px, var(--слоган-кегль), 42px);
  height: max(1.5px, .045em); margin: .55em 0; max-width: 8em;
  background: linear-gradient(90deg, rgba(255,248,236,.92), rgba(255,248,236,0));
}
.слоган p { margin: 0; font-size: clamp(13px, 1.35vw, 19px); opacity: .95; }


.полоса { padding: clamp(12px, var(--полоса-отступ), 96px) var(--поле); }

.полоса.галерея-блок { padding-bottom: calc(clamp(12px, var(--полоса-отступ), 96px) / 2); }
.полоса.тёплая { background: #F3E4D6; }   

.ещё-ряд { text-align: center; margin: calc(clamp(12px, var(--полоса-отступ), 96px) + 16px) 0 16px; }
.галерея-блок .ещё-ряд { margin-top: calc(clamp(12px, var(--полоса-отступ), 96px) / 2 + 16px); }
.узкая { max-width: 1680px; margin: 0 auto; }
.полоса h2 { margin: 0 0 10px; font-size: var(--р-заголовок); }

.полоса h2.с-справкой { display: flex; align-items: center; gap: 12px; }

.полоса h2.с-справкой { gap: 10px; margin-bottom: clamp(14px, 2vh, 22px); }
.полоса h2.с-справкой .справка-кнопка { position: relative; width: 22px; height: 22px; border-width: 1.5px; color: var(--терракот, #B5714E);
  font: 700 13px/1 Georgia, serif; }
.полоса h2.с-справкой .справка-кнопка::after { content: ""; position: absolute; inset: -11px; }
.полоса .под { margin: 0 0 clamp(20px, 3vh, 36px); color: var(--дым); }

.сетка { display: grid; gap: clamp(12px, 1.4vw, 22px); }
.сетка.четыре { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.сетка.три    { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.сетка.шесть  { grid-template-columns: repeat(3, 1fr); }   


.ячейка {
  background: #F3E4D6; border-radius: var(--скругление); padding: clamp(18px, 1.8vw, 30px);
  box-shadow: 0 4px 18px rgba(59,42,31,.08); border: 1px solid rgba(217,195,155,.4);
}
.полоса.тёплая .ячейка { background: #FFF8EC; }
#раздел-мастерская .мастерская-сетка { background: #F3E4D6; }
.ячейка .номер { font-family: "Playfair Display", Georgia, serif;
                 font-size: clamp(26px, 2.6vw, 38px); color: var(--терракот); line-height: 1; }
.ячейка h3 { margin: 10px 0 8px; font-size: var(--р-подзаголовок); }
.ячейка p { margin: 0; color: var(--дым); font-size: var(--р-текст); }
.ячейка .цифра { font-family: "Playfair Display", Georgia, serif;
                 font-size: clamp(30px, 3vw, 46px); color: var(--лист); line-height: 1; }
.ячейка a { color: var(--терракот); text-decoration: none; font-weight: 600; }  
.ячейка a:hover { text-decoration: underline; }

.ячейка.токен { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; }
.ячейка.токен h3 { margin: 0; }
.ячейка.токен p { grid-column: 2; }
.ячейка.токен .кнопка-призыв { grid-column: 1 / -1; justify-self: start; margin-top: 10px;
                               text-decoration: none; color: #fff; }
.монета-круг { grid-row: 1 / span 2; width: 64px; height: 64px; position: relative; perspective: 400px; }
.монета-вращ { position: absolute; inset: 0; transform-style: preserve-3d;
               animation: монета-вращ 4s ease-in-out infinite; }
.монета-вращ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
                   backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.монета-вращ .оборот { transform: rotateY(180deg); }
@keyframes монета-вращ {
  0%, 15%  { transform: rotateY(0deg); }
  50%, 65% { transform: rotateY(180deg); }
  100%     { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) { .монета-вращ { animation: none; } }


.пробы { align-items: center; }
.монетка-кнопка { display: inline-flex; align-items: center; gap: 10px; padding: 5px 20px 5px 5px;
  border-radius: 999px; text-decoration: none; color: var(--бумага); font-weight: 700; font-size: 20px;
  
  border: 1.5px solid rgba(255,248,236,.75); background: rgba(255,248,236,.14); backdrop-filter: blur(3px); }
.монетка-кнопка:hover { filter: brightness(1.08); }
.монетка-кнопка .монета-круг { width: 40px; height: 40px; flex: none; }

.монетка-кнопка.ноль b { font-size: 15px; font-weight: 500; }

.статус-пробы { font-size: 15px; font-weight: 600; padding-left: 12px; }
.монетка-кнопка:has(.статус-пробы:not([hidden])) { padding-left: 5px; }
.скрыто { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.принципы { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.принципы li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.принципы li::before { content: "✕"; color: var(--терракот); font-size: 13px; line-height: 1.8; }



.подвал { background: var(--шоколад); color: #E8DDD0; }
.подвал > .полоса { padding: 22px var(--поле) 14px; }
.подвал .колонки { display: grid; gap: 10px clamp(18px, 2vw, 34px);
                   grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 760px) { .подвал .колонки { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) and (pointer: coarse) { .подвал .колонки { grid-template-columns: 1fr; } }  
.подвал h4 { margin: 0 0 6px; font-size: var(--р-мелкий); color: #fff; font-weight: 600; }
.подвал a { display: block; color: #E8DDD0; text-decoration: none; padding: 2px 0;
            font-size: var(--р-мелкий); opacity: .82; }
.подвал a:hover { opacity: 1; text-decoration: underline; }

@media (pointer: coarse) {
  .подвал .колонки { gap: 0; }
  .подвал .колонки > div > a { display: none; }
  .подвал .колонки > div.открыт > a { display: block; padding: 7px 0; }
  
  .подвал .колонки > div > h4 {
    cursor: pointer; user-select: none;
    display: flex; align-items: center; gap: 10px;
    padding: 9px 0; margin: 0;
  }
  .подвал .колонки > div > h4::after {
    content: ''; flex: none;
    width: 7px; height: 7px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .15s;
  }
  .подвал .колонки > div.открыт > h4::after { transform: translateY(2px) rotate(225deg); }
}

@media (pointer: coarse) and (max-width: 760px) {
  .подвал .колонки > div > h4 { border-bottom: 1px solid rgba(255,255,255,.14); }
  .подвал .колонки > div:last-child > h4 { border-bottom: 0; }
}
.подпись { padding: 10px var(--поле); border-top: 1px solid rgba(255,255,255,.12);
           font-size: var(--р-мелкий); opacity: .7; text-align: center; }   

.оговорка { padding: 0 var(--поле) 12px; font-size: var(--р-мелкий); line-height: 1.35; color: #E8DDD0; opacity: .75; text-align: center; }

[hidden] { display: none !important; }


.шторка-тизер {
  position: relative; overflow: hidden; border-radius: var(--скругление);
  max-width: 560px; margin: 0 auto; box-shadow: var(--тень);
  
  user-select: none; background: var(--песок);
}
.шторка-тизер img { display: block; width: 100%; height: auto; pointer-events: none; }
.шторка-тизер .верх {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(0 calc(100% - var(--доля, 50%)) 0 0);
}
.шторка-тизер .верх img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.шторка-тизер .ручка {
  position: absolute; top: 0; bottom: 0; left: var(--доля, 50%); width: 0;
  border-left: 3px solid var(--бумага); box-shadow: 0 0 0 1px rgba(59,42,31,.3);
  touch-action: none; cursor: ew-resize;
}

.шторка-тизер .ручка::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -24px; right: -24px;
}
.шторка-тизер .ручка::after {
  content: '⇔'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--бумага); color: var(--терракот); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(59,42,31,.35);
}

.карусель { position: relative; max-width: 720px; margin: 0 auto; }
.карусель .кадры {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-block: 10px;
}
.карусель .кадры::-webkit-scrollbar { display: none; }
.карусель .слайд {
  flex: 0 0 100%; scroll-snap-align: center;
  padding-inline: 7px;                
  will-change: transform;
}

.карусель .шторка-тизер, .карусель .тизер-отшив {
  width: 100%; max-width: none; margin: 0; aspect-ratio: 3 / 4;
  border-radius: var(--скругление);
  
  box-shadow: none; background: transparent; display: block;
}
.карусель .шторка-тизер > img { width: 100%; height: 100%; object-fit: cover; }
.карусель .тизер-отшив { object-fit: cover; }
.листалка {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(59,42,31,.55); color: #FFF8EC; font-size: 26px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0;   
}
.листалка.назад { left: 6px; }
.листалка.вперёд { right: 6px; }
.листалка:hover { background: rgba(59,42,31,.75); }


.призыв { text-align: center; }
.призыв .кнопки-призыва {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px;
}
.кнопка-призыв {
  display: inline-block; padding: var(--р-кнопка-поля); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: var(--р-кнопка);
  background: var(--терракот); color: #fff; box-shadow: var(--тень);
}
.кнопка-призыв.вторая {
  background: transparent; color: var(--терракот);
  border: 1.5px solid var(--терракот); box-shadow: none;
}
.кнопка-призыв:hover { filter: brightness(1.08); }




.подписка-плашка {
  background: var(--шоколад); color: #E8DDD0; border-radius: var(--скругление);
  box-shadow: var(--тень); padding: clamp(22px, 3vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(18px, 3vw, 48px);
}
.подписка-плашка .цена { text-align: center; }
.подписка-плашка .число { font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(36px, 3.6vw, 58px); color: #fff; line-height: 1; }

.подписка-плашка .число .рубль { font-size: .5em; font-family: Georgia, serif; }
.подписка-плашка .период { opacity: .75; font-size: var(--р-мелкий); margin-top: 4px; }
.подписка-плашка .выгоды { list-style: none; margin: 0; padding: 0;
  flex: 1 1 320px; display: grid; gap: 10px; }
.подписка-плашка .выгоды li { display: grid; grid-template-columns: 20px 1fr;
  gap: 10px; font-size: var(--р-текст); }
.подписка-плашка .выгоды li::before { content: "✓"; color: var(--лист); }

.подписка-плашка .выгоды li.условие::before { content: "*"; color: var(--песок); }
.подписка-плашка .выгоды li.условие { font-size: var(--р-мелкий); opacity: .75; }  
.подписка-плашка .выгоды em { font-style: normal; color: var(--песок); }
.подписка-плашка .действие { flex: 0 1 300px; text-align: center; }
.подписка-плашка .действие p { margin: 12px 0 0; font-size: var(--р-мелкий); opacity: .75; }


.тарифы-проба { text-align: center; margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif; font-size: var(--р-заголовок); }   
.тарифы { display: grid; gap: clamp(16px, 2.4vw, 32px);
  grid-template-columns: repeat(3, 1fr); }
.подписка-плашка.карта { flex-direction: column; align-items: stretch; position: relative;
  gap: clamp(16px, 1.8vw, 24px); }
.подписка-плашка.карта .выгоды { flex: 1 1 auto; align-content: start; }
.подписка-плашка.карта .действие { flex: none; }
.подписка-плашка .имя-тарифа { font-family: "Playfair Display", Georgia, serif;
  font-size: var(--р-подзаголовок); color: #fff; margin-bottom: 6px; letter-spacing: .04em; }

.имя-тарифа.с-монетой { display: inline-flex; align-items: center; gap: 12px; }
.имя-тарифа.с-монетой .монета-круг { width: 1.6em; height: 1.6em; flex: none; }
.метка-тарифа { position: absolute; top: 14px; right: 14px; padding: 3px 10px;
  border-radius: 999px; background: var(--терракот); color: #fff; font-size: 12px; font-weight: 600; }

.кнопка-призыв.вторая.светлая { color: #F3E9DC; border-color: rgba(243,233,220,.7); }


.пара-блок {
  display: grid; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(18px, 3vw, 56px);
}

.пара-блок.наоборот { direction: rtl; }
.пара-блок.наоборот > * { direction: ltr; }
.пара-блок figure { margin: 0; }
.пара-блок img { display: block; width: 100%; height: auto;
  border-radius: var(--скругление); box-shadow: var(--тень); }
.пара-блок .суть p { color: var(--дым); }



.узкая.история { max-width: 900px; }

main[data-для="гостя"] .полоса:not(#как-это-работает):not(#тарифы):not(#о-нас):not(:has(.пара-блок)) > .узкая { max-width: 900px; }      
.история .цитата { font-family: "Playfair Display", Georgia, serif;
  font-style: italic; color: var(--терракот);
  font-size: var(--р-подзаголовок); }
.история .связь { border-top: 1px solid var(--песок);
  padding-top: 18px; margin-top: 26px; }
.история .связь a:not(.кнопка-призыв) { color: var(--терракот); font-weight: 600; }
.история .связь p:last-child { margin: 16px 0 0; }   

.пара-блок img { max-height: 540px; object-fit: cover; }

@media (max-width: 819px) {
  .пара-блок { grid-template-columns: 1fr; }
  .пара-блок img { max-height: 300px; }
}
@media (max-width: 480px) { .пара-блок img { max-height: 220px; } }


.бета { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--шоколад); color: #fff; border: 1px solid rgba(255,255,255,.4); border-top-color: rgba(255,255,255,.65); box-shadow: 0 2px 6px rgba(0,0,0,.25); font: 700 10.5px/1.5 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }   
.плашка { position: relative; }
.плашка .бета { position: absolute; top: 8px; right: 8px; margin: 0; }

.плашка .бета { font-size: 10.5px; top: 8px; right: 8px; }


.пара-блок .без-фона img { box-shadow: none; border-radius: 0; object-fit: contain; }


.пара-блок .суть h2 { font-size: var(--р-подзаголовок); line-height: 1.25; }

@media (min-width: 820px) { .пара-блок:has(.без-фона) { grid-template-columns: 1.5fr 1fr; } }


#о-нас > .узкая.история { max-width: 1680px; }


body.робот-фон { background: transparent; }
body.робот-фон::before { content: ''; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(244,237,224,.68), rgba(244,237,224,.68)), url('/titul/fon.jpg') center/cover no-repeat, var(--бумага); }
body.робот-фон main > section.полоса { background: transparent; }
body.робот-фон main > section.полоса > .узкая { background: var(--бумага); border: 1px solid var(--песок); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(59,42,31,.14); padding: clamp(20px, 3vw, 40px); }

body.робот-фон { min-height: 100svh; display: flex; flex-direction: column; }
body.робот-фон > main { flex: 1 0 auto; }

body.робот-фон main > section.полоса > .узкая { padding-top: clamp(12px, 1.5vw, 20px); }
body.робот-фон main > section.полоса > .узкая > :first-child { margin-top: 0; }

.шапка-стр .домой { width: 34px; height: 34px; padding: 0 !important; justify-content: center; }
.шапка-стр .домой span { display: none; }


.лента-пробы { background: var(--шоколад); color: #E8DDD0; padding: 7px var(--поле); }
.лента-пробы .узкая { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 18px; text-align: center; }
.лента-пробы .лента-текст { margin: 0; font-size: var(--р-мелкий); }
.лента-пробы b { color: #fff; font-weight: 600; }
.лента-пробы .лента-кнопка { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--терракот); color: #fff;
  text-decoration: none; font-weight: 600; font-size: var(--р-кнопка-м); white-space: nowrap; }
.лента-пробы .лента-кнопка:hover { filter: brightness(1.08); }
@media (max-width: 700px) {
  .лента-пробы { padding: 7px 12px; }
  .лента-пробы .узкая { gap: 6px 12px; max-width: none; padding: 0; }
}


.вниз-стрелка {
  position: relative; flex: none; align-self: center; z-index: 3;
  width: 64px; height: 64px; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(160deg, rgba(255,255,255,var(--стекло-заливка)),
                              rgba(255,248,236,calc(var(--стекло-заливка) * .4)));
  border: 1px solid rgba(255,255,255,.5); border-top-color: rgba(255,255,255,.75);
  box-shadow: 0 8px 26px rgba(59,42,31,.18), inset 0 1px 0 rgba(255,255,255,.45);
  backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  -webkit-backdrop-filter: blur(var(--стекло-размытие)) saturate(1.2);
  filter: drop-shadow(0 1px 6px rgba(59,42,31,.45));
  animation: вс-кивок 5s ease-in-out infinite;
  transition: opacity .25s;
}
.вниз-стрелка svg { display: block; width: 100%; height: 100%; }
.вниз-стрелка.спрятана { opacity: 0; pointer-events: none; }

@keyframes вс-кивок { 0%, 84%, 100% { transform: translateY(0); } 89% { transform: translateY(7px); } 94% { transform: translateY(0); } 97% { transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .вниз-стрелка { animation: none; } }
@media (pointer: coarse) { .вниз-стрелка { width: 52px; height: 52px; } }


.вход-блок .монетка-кнопка.в-шапке {
  height: var(--вх, 42px); box-sizing: border-box; padding: 3px 18px 3px 3px; gap: 10px; transform: none !important;
  font-size: clamp(13px, 1.05vw, 16px); white-space: nowrap; flex: none;
}
.вход-блок .монетка-кнопка.в-шапке .монета-круг { width: calc(var(--вх, 42px) - 8px); height: calc(var(--вх, 42px) - 8px); }
.вход-блок .монетка-кнопка.в-шапке b, .вход-блок .монетка-кнопка.в-шапке .статус-пробы { font-size: inherit; font-weight: 600; }
.вход-блок .монетка-кнопка.в-шапке .статус-пробы { padding-left: 10px; }


.кабинет.кабинет-дверь { box-sizing: border-box; padding: 0; justify-content: center; gap: 0;
  width: calc(1.3em + 2 * clamp(9px, 1vw, 14px) + 6px); height: calc(1.3em + 2 * clamp(9px, 1vw, 14px) + 6px); }
.кабинет.кабинет-дверь svg { width: 55%; height: 55%; }
@media (min-width: 2200px) { .кабинет.кабинет-дверь { width: calc(1.3em + 2 * clamp(11px, .8vw, 22px) + 6px); height: calc(1.3em + 2 * clamp(11px, .8vw, 22px) + 6px); } }

.вход-блок .монетка-кнопка.в-шапке.ноль b { font-size: 0; }
.вход-блок .монетка-кнопка.в-шапке.ноль b::after { content: "0"; font-size: clamp(13px, 1.05vw, 16px); }

.слоган.без-кнопок .пробы { margin: 0; }
.слоган.без-кнопок .пробы .вниз-стрелка { position: absolute; right: var(--поле); bottom: var(--стрелка-низ, 14px); margin: 0; }
.слоган.без-кнопок { padding-right: calc(var(--поле) + 52px); }   

.кабинет [data-кабинет] { display: none; }
.кабинет:not(.кабинет-дверь) { box-sizing: border-box; padding: 0; justify-content: center; gap: 0;
  width: calc(1.3em + 2 * clamp(9px, 1vw, 14px) + 6px); height: calc(1.3em + 2 * clamp(9px, 1vw, 14px) + 6px); }
.кабинет:not(.кабинет-дверь) svg { width: 50%; height: 50%; }
@media (min-width: 2200px) { .кабинет:not(.кабинет-дверь) { width: calc(1.3em + 2 * clamp(11px, .8vw, 22px) + 6px); height: calc(1.3em + 2 * clamp(11px, .8vw, 22px) + 6px); } }


.пробы .вниз-стрелка { margin-left: auto; }


.звезда-тарифа { font-size: .6em; vertical-align: super; margin-left: 2px; opacity: .8; }
.сноска-тарифов { font-size: var(--р-мелкий); opacity: .8; max-width: 900px; margin: 18px auto 0; text-align: center; line-height: 1.45; }

.вход-блок .бонус-монетка.в-шапке { margin-left: 8px; }


#верх-плашки { position: absolute; left: 50%; transform: translateX(-50%); z-index: 50;
  width: max-content; max-width: calc(100% - 32px); box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: 8px; }
#верх-плашки.в-потоке { position: relative; left: auto; transform: none; z-index: 2; margin: 0 auto 12px; }
.плашка-вверху { max-width: 760px; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; justify-content: center;
  padding: 12px 16px 12px 20px; background: var(--бумага); color: var(--кора);
  border: 1.5px solid var(--терракот); border-radius: var(--скругление); box-shadow: var(--тень);
  font-size: var(--р-текст); line-height: 1.35; text-align: center; }
.плашка-вверху.объявление { padding: 12px 20px; }
.плашка-вверху .кнопка-призыв { padding: 8px 20px; box-shadow: none; white-space: nowrap; }
