/* ==========================================================================
   1. СБРОС И ПЕРЕМЕННЫЕ (VARIABLES & RESET)
   ========================================================================== */

:root {
  /* Палитра цветов */
  --bg: #101116;
  --paper: #e9e6dc;
  --ink: #141418;
  --muted: #a5a5ad;
  --lime: #c8ff2f;
  --violet: #9a65ff;
  --orange: #ff6b36;
  --line: #313139;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  overflow-x: hidden;
}


/* ==========================================================================
   2. ОБЩИЕ КОМПОНЕНТЫ И СЕТКА (GLOBAL LAYOUT & UTILS)
   ========================================================================== */

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

/* Эффект шума на фоне */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Типографика общего назначения */
h1, h2, h3, p {
  margin-top: 0;
}

h1 em,
h2 em {
  font-style: normal;
}

.eyebrow,
.section-mark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #a9a9b1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--lime);
}

.section {
  padding: 0 30px 50px 0px;
  margin-bottom: 30px;
}

.section-mark {
  margin-bottom: 46px;
}

/* Кнопки и ссылки */
.button {
  border: 0;
  font: 800 12px Manrope, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 17px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  gap: 23px;
  align-items: center;
}

.primary {
  background: var(--lime);
  color: #151515;
  box-shadow: 6px 6px 0 #4f5a19;
  transition: 0.2s;
}

.primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #4f5a19;
}

.primary span {
  font-size: 21px;
  line-height: 10px;
}

.text-link {
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.text-link span {
  color: var(--lime);
  font-size: 17px;
  margin-left: 7px;
}

/* Анимации появление */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   3. ШАПКА САЙТА (HEADER & NAV)
   ========================================================================== */

.header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #2a2b31;
}

.logo {
  font: 700 26px Unbounded, sans-serif;
  color: var(--paper);
  text-decoration: none;
}

.logo span,
h1 em,
h2 span,
h2 em {
  color: var(--lime);
}

nav {
  display: flex;
  gap: 26px;
}

nav a,
.header-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
}

.header-cta span {
  color: var(--lime);
  font-size: 18px;
}


/* ==========================================================================
   4. ГЛАВНАЯ СЕКЦИЯ (HERO SECTION)
   ========================================================================== */

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 76px 0 90px;
}

h1 {
  font: 700 clamp(55px, 7vw, 98px) / 1.04 Unbounded, sans-serif;
  letter-spacing: -0.07em;
  margin: 22px 0 28px;
}

.intro {
  max-width: 535px;
  font-size: 18px;
  line-height: 1.68;
  color: #c2c1c7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 35px 0 55px;
}

/* Мини-факты */
.mini-facts {
  display: flex;
  gap: 25px;
}

.mini-facts div {
  border-left: 1px solid #494950;
  padding-left: 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-facts b {
  color: var(--lime);
  font: 600 17px Unbounded;
}

.mini-facts span {
  font-size: 10px;
  color: #a7a7af;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Визуал Hero (Фото, Стикеры, Орбиты) */
.hero-visual {
  height: 570px;
  position: relative;
}

.photo-frame {
  height: 100%;
  width: 82%;
  margin-left: auto;
  overflow: hidden;
  background: #292a2d;
  clip-path: polygon(11% 0, 100% 0, 100% 92%, 87% 100%, 0 100%, 0 10%);
}

.photo-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.05);
}

/* Стикеры */
.sticker {
  position: absolute;
  font: 600 12px / 1.45 Unbounded;
  letter-spacing: -0.04em;
  z-index: 2;
}

.top-sticker {
  top: 15px;
  left: 0;
  background: var(--violet);
  color: #1a102b;
  padding: 13px 15px;
  transform: rotate(-8deg);
  box-shadow: 5px 5px 0 #3d2768;
}

.top-sticker i {
  font-size: 23px;
  font-style: normal;
  float: right;
  margin-left: 10px;
}

.bottom-sticker {
  bottom: 28px;
  right: -6px;
  padding: 13px 16px;
  background: var(--orange);
  color: #2d1208;
  transform: rotate(6deg);
  box-shadow: 5px 5px 0 #81351e;
}

.bottom-sticker strong {
  font-size: 17px;
}

/* Орбиты (Декоративные круги) */
.orbit {
  position: absolute;
  border: 1px solid rgba(200, 255, 47, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  height: 72px;
  width: 72px;
  right: 76%;
  bottom: 3%;
}

.orbit-two {
  height: 18px;
  width: 18px;
  right: 5%;
  top: 3%;
  background: var(--lime);
  border: 0;
}


/* ==========================================================================
   5. СЕКЦИЯ "О НАС" (ABOUT)
   ========================================================================== */

.about {
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about h2,
.saint h2,
.profile h2,
.match h2,
.contact h2 {
  font: 600 clamp(33px, 4vw, 57px) / 1.16 Unbounded;
  letter-spacing: -0.065em;
  margin: 0;
}

.about-text p,
.saint-copy > p {
  font-size: 18px;
  line-height: 1.75;
  color: #c2c1c7;
}

.about-text .lead {
  font: 600 19px / 1.4 Unbounded;
  color: var(--paper);
  letter-spacing: -0.05em;
}

.quote {
  margin-top: 34px;
  background: #202127;
  border-left: 4px solid var(--lime);
  padding: 20px;
  font: 500 15px / 1.5 Unbounded;
  letter-spacing: -0.04em;
}


/* ==========================================================================
   6. ГАЛЕРЕЯ И КАРОСЕЛЬ (GALLERY & CAROUSEL)
   ========================================================================== */

.gallery {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
}

.gallery-head .section-mark {
  color: #55555b;
}

.gallery-head p {
  font: 600 13px Unbounded;
  margin: 0;
}

.carousel-wrap {
  position: relative;
}

.photo-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(24px, calc((100vw - 1160px) / 2)) 14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.photo-carousel::-webkit-scrollbar {
  display: none;
}

.photo-carousel figure {
  scroll-snap-align: start;
  flex: 0 0 min(72vw, 420px);
  height: 510px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #303036;
}

.photo-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-carousel figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 55px 22px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.86));
  color: var(--paper);
  font: 600 14px Unbounded;
  letter-spacing: -0.045em;
}

.photo-carousel figcaption b {
  color: var(--lime);
  font-size: 11px;
  margin-right: 10px;
}

/* Кнопки навигации карусели */
.carousel-btn {
  position: absolute;
  z-index: 2;
  top: 45%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--lime);
  font-size: 24px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #60761b;
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }


/* ==========================================================================
   7. СЕКЦИЯ SAINT & TRAITS
   ========================================================================== */

.saint {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding-left: 15px;
}

.saint h2 span {
    color: var(--orange);
}

.saint-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 70px;
  align-items: start;
}

.saint-image {
  background: var(--violet);
  padding: 25px;
  transform: rotate(-2deg);
}

.saint-image img {
  width: 100%;
  display: block;
  mix-blend-mode: multiply;
}

.saint-copy > p {
  max-width: 660px;
  margin: 24px 0 34px;
  color: #5f6570;
}

/* Карточки качеств (Traits) */
.traits {
  display: grid;
  gap: 14px;
}

.traits article {
  background: #ffffff;
  padding: 20px 22px;
  border-left: 3px solid var(--violet);
}


.traits h3 {
  font: 600 16px Unbounded;
  letter-spacing: -0.05em;
  margin: 8px 0;
}

.traits p {
  font-size: 18px;
  line-height: 1.65;
  color: #5f6570;
  margin: 0;
}


/* ==========================================================================
   8. СЕКЦИЯ ПРОФИЛЯ И ФАКТОВ (PROFILE & FACTS)
   ========================================================================== */

.profile {
  background: var(--paper);
  color: var(--ink);
}

.profile .section-mark {
  color: #626168;
}

.profile-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}

.profile-heading p {
  max-width: 220px;
  font-size: 14px;
  line-height: 1.55;
  color: #616066;
  margin: 0;
}

/* Сетка фактов */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fact {
  min-height: 210px;
  padding: 21px;
  background: #d7d4ca;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s;
}

.fact:hover {
  transform: translateY(-4px);
}

.fact i {
  font-style: normal;
  font-size: 27px;
  margin-bottom: 18px;
}

.fact h3 {
  font: 600 16px / 1.28 Unbounded;
  letter-spacing: -0.055em;
  margin: 0 0 12px;
}

.fact p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: #4c3f33;
}

/* Модификаторы карточек фактов */
.fact.red { background: #ffa382; }
.fact.green { background: var(--lime); }
.fact.plans { background: #deccff; }


/* ==========================================================================
   9. СЕКЦИЯ СОВПАДЕНИЯ (MATCH SECTION)
   ========================================================================== */

.match {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.match-art {
  width: min(330px, 100%);
  aspect-ratio: 1;
  margin: auto;
  background: var(--orange);
  border-radius: 50%;
  place-items: center;
  position: relative;
  text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.heart {
  font-size: 100px;
  color: #1e1110;
  line-height: 1;
}

.circle-text {
  position: absolute;
  inset: 15px;
  border: 1px solid #5c2718;
  border-radius: 50%;
  padding: 25px;
  text-align: center;
  font: 600 11px / 1.5 Unbounded;
  letter-spacing: 0.12em;
  word-spacing: 100px;
  transform: rotate(-15deg);
}

.match-copy .section-mark { margin-bottom: 30px; }
.match-copy h2 { margin-bottom: 22px; }

.match-copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: #c3c2c8;
  max-width: 580px;
}

.match-copy .aside {
  font: 500 14px / 1.5 Unbounded;
  color: var(--orange);
  letter-spacing: -0.04em;
}

.match-copy .bonus {
  border-top: 1px solid #36363e;
  padding-top: 22px;
}

.bonus b {
  color: var(--lime);
}


/* ==========================================================================
   10. КОНТАКТЫ (CONTACT SECTION)
   ========================================================================== */

.contact {
  background: var(--lime);
  color: var(--ink);
  padding: 30px;
  padding-bottom: 80px;
}

.contact-inner {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
  color: #4a5620;
}

.contact h2 {
  margin: 25px 0;
}

.contact h2 em {
  color: #7046c2;
}

.contact-inner > p:not(.eyebrow) {
  max-width: 555px;
  margin: 0 auto 34px;
  line-height: 1.65;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact .primary {
  background: #1c1d20;
  color: var(--paper);
  box-shadow: 6px 6px 0 var(--violet);
}

.contact .primary:hover {
  box-shadow: 3px 3px 0 var(--violet);
}

.social-button {
  background: transparent;
  color: #1c1d20;
  border: 2px solid #1c1d20;
  box-shadow: none;
}

.social-button:hover {
  background: #1c1d20;
  color: var(--paper);
  transform: none;
}


/* ==========================================================================
   11. ПОДВАЛ (FOOTER)
   ========================================================================== */

.footer {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  color: #777780;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer i {
  color: var(--lime);
  font-style: normal;
}


/* ==========================================================================
   12. АДАПТИВНОСТЬ (MEDIA QUERIES - MOBILE / TABLET)
   ========================================================================== */

@media (max-width: 760px) {
  /* Лейаут и Шапка */
  .container { width: min(100% - 32px, 1160px); }
  .header { height: 72px; }
  .header nav { display: none; }
  .header-cta { font-size: 10px; }

  /* Hero Секция */
  .hero {
    grid-template-columns: 1fr;
    padding: 20px 0 10px;
    gap: 46px;
  }
  h1 { font-size: 54px; }
  .intro { font-size: 18px; }
  .hero-actions {
    margin: 28px 0 42px;
    gap: 18px;
  }
  .hero-visual { height: 460px; }
  .photo-frame { width: 100%; }

  .top-sticker { left: -15px; }
  .bottom-sticker { right: 0; }

  .mini-facts { gap: 14px; }
  .mini-facts b { font-size: 14px; }

  /* Сетки и секции */
  .section { padding: 75px 10px; }
  .section-mark { margin-bottom: 32px; }

  .about-grid,
  .saint-grid,
  .match {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about h2,
  .saint h2,
  .profile h2,
  .match h2,
  .contact h2 {
    font-size: 34px;
  }

  .saint-image {
    width: min(330px, 100%);
    margin: auto;
  }

  /* Карусель */
  .gallery-head { padding: 0 16px; }
  .photo-carousel {
    padding-left: 16px;
    padding-right: 16px;
  }
  .photo-carousel figure {
    flex-basis: 82vw;
    height: 430px;
  }
  .carousel-btn { display: none; }

  /* Карточки Фактов */
  .profile-heading { display: block; }
  .profile-heading h2 { margin-bottom: 18px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact,
  .fact.wide {
    grid-column: auto;
    min-height: 0;
  }

  /* Подвал */
  .footer {
    gap: 10px;
    font-size: 12px;
	text-align: center;
  }
}

/* Точечные корректировки: галерея, блок Saint и круг совпадения */
.photo-carousel figure { aspect-ratio: 1; height: auto; }
.photo-carousel img { object-fit: contain; }
.saint-grid { align-items: stretch; }
.saint-image { min-height: 640px; padding: 0; transform: none; background: var(--violet) url("img/q1.webp") center / cover no-repeat; }
.saint-image img { display: none; }
.match-art { height: auto; justify-self: center; }
.match-art h2 { margin: 0; color: #ffffff;; font: 600 clamp(27px, 1.55vw, 22px) / 1.28 Unbounded; letter-spacing: -0.06em; }
.highlight {
  background-color: #ff6b36;
  color: #fff; /* Белый цвет текста, чтобы он лучше читался на оранжевом фоне */
  padding: 0 4px; /* Небольшие отступы слева и справа, чтобы маркер смотрелся аккуратнее */
  border-radius: 3px; /* Слегка скругленные углы (по желанию) */
}
@media (max-width: 760px) {
  .photo-carousel figure { height: auto; }
  .saint-image { width: 100%; min-height: 0; margin: auto; background: var(--violet); }
  .saint-image img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
}
/* Индивидуальные тени кнопок социальных сетей */
.social-links .social-button {
  background: transparent;
  color: #1c1d20;
  border: 2px solid #1c1d20;
  box-shadow: 6px 6px 0 var(--shadow-color);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.social-links .social-button:hover {
  background: #1c1d20;
  color: var(--paper);
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--shadow-color);
}
.social-vk { --shadow-color: #4f5a19; }
.social-instagram { --shadow-color: #9a65ff; }
.social-tg { --shadow-color: #36aee2; }
.social-max { --shadow-color: #172b73; }
.social-form { --shadow-color: #fff98b; }
.social-share { --shadow-color: var(--orange); }
.social-share.is-success { --shadow-color: #4f5a19; }
/* Сохраняем исходные цвета q1.webp на мобильных устройствах */
@media (max-width: 760px) { .saint-image img { mix-blend-mode: normal; } }

/* Новые повествовательные блоки */
.personal-story{background:#17181e}.story-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:80px;align-items:start}.story-heading{position:sticky;top:40px}.story-heading h2,.duality-head h2,.together-title h2,.fun-heading h2,.places-head h2{font:600 clamp(32px,4vw,55px)/1.17 Unbounded;letter-spacing:-.065em;margin:0}.story-heading h2 span,.duality-head h2 span,.together-title h2 span,.fun-heading h2 span,.places-head h2 span{color:var(--lime)}.story-kicker{color:var(--violet);font:700 12px/1.4 Unbounded;letter-spacing:.08em;margin-bottom:22px}.story-copy{display:grid;gap:12px}.story-paragraph{display:grid;grid-template-columns:54px 1fr;gap:18px;padding:22px;background:#202127;border-left:3px solid #353640}.story-paragraph>span{font-size:25px;line-height:1.2}.story-paragraph p{color:#d1d0d6;font-size:16px;line-height:1.75;margin:0}.story-paragraph-accent{background:#f4edff;border-color:var(--lime)}.story-paragraph-accent p{color:#160d29}

.duality{background:var(--paper);color:var(--ink)}.duality .section-mark{color:#65636a}.duality-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:45px}.duality-head h2 span{color:#7046c2}.duality-head>p{max-width:320px;color:#55545a;font-size:16px;line-height:1.6;margin:0}.duality-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.duality-pair{min-height:145px;padding:22px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;background:#d7d4ca;font:600 16px/1.35 Unbounded;letter-spacing:-.045em}.duality-pair:nth-child(3n+2){background:var(--lime)}.duality-pair:nth-child(3n){background:var(--violet)}.duality-pair b{color:var(--orange);font-size:30px}.duality-pair span:last-child{text-align:right}

.together{border-top:1px solid var(--line)}.together-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:80px;align-items:start}.together-title{position:sticky;top:40px}.together-title>p{color:#aaaab2;font-size:16px;line-height:1.65;margin-top:24px;max-width:400px}.together-list{list-style:none;padding:0;margin:0;display:grid}.together-list li{display:grid;grid-template-columns:46px 1fr;gap:16px;padding:21px 0;border-top:1px solid #34353d}.together-list li:last-child{border-bottom:1px solid #34353d}.together-list b{color:var(--lime);font:600 12px Unbounded}.together-list span{font-size:17px;font-weight:600;line-height:1.5}

.fun-facts{background:#16171c}.fun-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:52px}.fun-badge{width:118px;height:118px;flex:0 0 auto;border-radius:50%;display:grid;place-content:center;text-align:center;background:var(--orange);color:var(--ink);font:700 36px/1 Unbounded;transform:rotate(7deg)}.fun-badge small{font-size:9px;letter-spacing:.12em}.fun-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.fun-list li{padding:24px;background:#202127;display:grid;grid-template-columns:42px 1fr;gap:14px;min-height:150px;border-top:3px solid var(--violet)}.fun-list li:nth-child(3n){border-color:var(--lime)}.fun-list li:nth-child(3n+1){border-color:var(--orange)}.fun-list li>span{color:var(--lime);font:600 12px Unbounded}.fun-list p{color:#d1d0d6;font-size:16px;line-height:1.65;margin:0}.fun-list a{color:var(--lime);font-weight:800;text-decoration:none;white-space:nowrap}

.facts-grid .fact{position:relative;cursor:pointer;min-height:0;padding-right:52px}.facts-grid .fact::after{content:'+';position:absolute;right:20px;top:19px;font:500 26px/1 Unbounded;transition:transform .25s}.facts-grid .fact h3{margin:0}.facts-grid .fact p{max-height:0;opacity:0;overflow:hidden;margin:0;transition:max-height .4s ease,opacity .25s ease,margin .25s ease}.facts-grid .fact.open p{max-height:360px;opacity:1;margin-top:14px}.facts-grid .fact.open::after{transform:rotate(45deg)}.facts-grid .fact:focus-visible{outline:3px solid var(--violet);outline-offset:3px}

.places{background:var(--violet);color:#160d29}.places .section-mark{color:#37235e}.places-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:45px}.places-head h2 span{color:var(--paper)}.places-head p{max-width:260px;font-size:16px;line-height:1.55;margin:0}.places-cloud{display:flex;flex-wrap:wrap;gap:10px}.places-cloud span{padding:13px 17px;border:2px solid #24143f;border-radius:100px;font:600 14px Unbounded;letter-spacing:-.04em; background:#edc8ff}.places-cloud span:nth-child(4n+2){background:var(--lime)}.places-cloud span:nth-child(4n-1){background:var(--orange)}.places-cloud span:nth-child(5n){background:var(--paper)}.places-cloud span:nth-child(4n){background:#a7ddfd}

@media(max-width:760px){.story-layout,.together-layout{grid-template-columns:1fr;gap:38px}.story-heading,.together-title{position:static}.story-heading h2,.duality-head h2,.together-title h2,.fun-heading h2,.places-head h2{font-size:30px}.story-paragraph{grid-template-columns:36px 1fr;padding:18px;gap:10px}.story-paragraph>span{font-size:20px}.story-paragraph p,.fun-list p{font-size:16px}.duality-head,.fun-heading,.places-head{display:block}.duality-head>p,.places-head p{margin-top:20px}.duality-grid,.fun-list{grid-template-columns:1fr}.duality-pair,.duality-pair-wide{grid-column:auto;min-height:125px;font-size:14px;gap:10px}.together-list span{font-size:16px}.fun-badge{width:92px;height:92px;margin:28px 0 0 auto;font-size:28px}.fun-list li{min-height:0;padding:20px}.places-cloud span{font-size:12px;padding:11px 13px}}

.heartbeat {
  display: inline-block;
  animation: heartbeat 1.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}
/* Вопросы и ответы */
.qa-section { position: relative; overflow: hidden; background: #111218; color: var(--paper); }
.qa-section::before { content: ''; position: absolute; width: 420px; height: 420px; right: -180px; top: -190px; border: 1px solid #34353d; border-radius: 50%; box-shadow: 0 0 0 48px #17181e, 0 0 0 49px #34353d; pointer-events: none; }
.qa-heading { position: relative; display: grid; grid-template-columns: minmax(260px, .85fr) 1.15fr; align-items: end; gap: 50px; margin-bottom: 48px; }
.qa-kicker { grid-column: 1 / -1; margin: 0 0 -26px; color: var(--lime); font: 700 14px/1.4 Unbounded, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.qa-heading h2 { margin: 0; font: 600 clamp(36px, 5vw, 68px)/1.05 Unbounded, sans-serif; letter-spacing: -.065em; }
.qa-heading h2 span { color: var(--violet); }
.qa-intro { max-width: 390px; margin: 0 0 6px; color: #b9b9c1; font-size: 17px; line-height: 1.65; }
.qa-carousel { position: relative; }
.qa-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.qa-progress { margin: 0; color: #85858f; font: 600 13px/1 Unbounded, sans-serif; letter-spacing: .08em; }
.qa-progress span { color: var(--lime); }
.qa-controls { display: flex; gap: 10px; }
.qa-arrow { width: 48px; height: 48px; border: 2px solid var(--paper); background: transparent; color: var(--paper); font: 600 22px/1 Manrope, sans-serif; cursor: pointer; transition: background .2s, color .2s, transform .2s, opacity .2s; }
.qa-arrow:hover:not(:disabled), .qa-arrow:focus-visible { background: var(--lime); color: var(--ink); transform: translateY(-2px); }
.qa-arrow:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.qa-arrow:disabled { cursor: default; opacity: .25; }
.qa-track { --qa-cards: 5; --qa-gap: 14px; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--qa-cards) - 1) * var(--qa-gap)) / var(--qa-cards)); align-items: stretch; gap: var(--qa-gap); overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qa-track::-webkit-scrollbar { display: none; }
.qa-card { min-width: 0; min-height: 460px; padding: 24px 22px 28px; border-top: 4px solid var(--violet); background: #202127; scroll-snap-align: start; scroll-snap-stop: always; }
.qa-card:nth-child(3n + 2) { border-color: var(--lime); }
.qa-card:nth-child(3n) { border-color: var(--orange); }
.qa-number { display: block; margin-bottom: 24px; color: var(--lime); font: 600 12px/1 Unbounded, sans-serif; letter-spacing: .1em; }
.qa-card:nth-child(3n + 2) .qa-number { color: var(--violet); }
.qa-card:nth-child(3n) .qa-number { color: var(--orange); }
.qa-card h3 { margin: 0 0 20px; color: #fff; font: 600 clamp(16px, 1.25vw, 19px)/1.35 Unbounded, sans-serif; letter-spacing: -.035em; }
.qa-card p { margin: 0; color: #c9c9d0; font-size: 16px; line-height: 1.62; }
@media (max-width: 2199px) { .qa-track { --qa-cards: 4; } }
@media (max-width: 1799px) { .qa-track { --qa-cards: 3; } }
@media (max-width: 1099px) { .qa-track { --qa-cards: 2; } }
@media (max-width: 619px) { .qa-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; } .qa-kicker { grid-column: auto; margin: 0; font-size: 12px; } .qa-heading h2 { font-size: 36px; } .qa-intro { font-size: 16px; } .qa-track { --qa-cards: 1; --qa-gap: 12px; } .qa-card { min-height: 0; padding: 24px 20px 28px; } .qa-card h3 { font-size: 18px; } .qa-arrow { width: 46px; height: 46px; } }
/* Рандомайзер вопросов */
.conversation-starter { background: var(--paper); color: var(--ink); }
.conversation-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 60px; margin-bottom: 34px; }
.conversation-heading .section-mark { margin-bottom: 22px; color: #65636a; }
.conversation-heading h2 { margin: 0; font: 600 clamp(38px, 5vw, 68px)/1.05 Unbounded, sans-serif; letter-spacing: -.065em; }
.conversation-heading h2 span { color: #7046c2; }
.conversation-heading > p { max-width: 430px; margin: 0 0 7px; color: #55545a; font-size: 17px; line-height: 1.65; }
.topic-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.topic-button { --topic-color: var(--lime); display: inline-flex; align-items: center; gap: 7px; min-height: 39px; padding: 9px 12px; border: 2px solid var(--ink); background: var(--topic-color); color: var(--ink); font: 700 13px/1.15 Unbounded, sans-serif; letter-spacing: -.035em; white-space: nowrap; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .16s, box-shadow .16s, filter .16s; }
.topic-button:nth-child(6n + 2) { --topic-color: #9a65ff; }
.topic-button:nth-child(6n + 3) { --topic-color: #ff6b36; }
.topic-button:nth-child(6n + 4) { --topic-color: #42c8ec; }
.topic-button:nth-child(6n + 5) { --topic-color: #ff8fc7; }
.topic-button:nth-child(6n) { --topic-color: #ffd84d; }
.topic-button:hover, .topic-button[aria-pressed="true"] { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); filter: saturate(1.18); }
.topic-button:focus-visible { outline: 3px solid #7046c2; outline-offset: 3px; }
.topic-button span { font: 18px/1 sans-serif; }
.question-machine { position: relative; overflow: hidden; padding: 24px; background: #17181e; color: var(--paper); box-shadow: 9px 9px 0 #7046c2; }
.question-machine-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #3a3b43; color: var(--lime); font: 700 13px/1.3 Unbounded, sans-serif; letter-spacing: .04em; }
.question-machine-lights { display: flex; gap: 7px; }
.question-machine-lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); }
.question-machine-lights i:nth-child(2) { background: var(--orange); }
.question-machine-lights i:nth-child(3) { background: var(--lime); }
.question-machine-window { position: relative; min-height: 190px; display: grid; place-items: center; padding: 32px 5%; text-align: center; }
.question-machine-window p { position: relative; z-index: 1; max-width: 920px; margin: 0; font: 600 clamp(23px, 3vw, 39px)/1.3 Unbounded, sans-serif; letter-spacing: -.05em; }
.question-machine-hint { margin: 0; color: #9797a0; text-align: center; font-size: 14px; }
@media (max-width: 760px) { .conversation-heading { grid-template-columns: 1fr; gap: 20px; } .conversation-heading h2 { font-size: 36px; } .conversation-heading > p { font-size: 16px; } .topic-buttons { display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: max-content; justify-content: start; overflow-x: auto; overscroll-behavior-inline: contain; padding: 0 4px 7px 0; scrollbar-width: none; } .topic-buttons::-webkit-scrollbar { display: none; } .topic-button { min-height: 38px; padding: 8px 11px; font-size: 12px; } .question-machine { padding: 19px; box-shadow: 6px 6px 0 #7046c2; } .question-machine-window { min-height: 210px; padding: 26px 0; } .question-machine-window p { font-size: 22px; } .question-machine-top { align-items: flex-start; font-size: 12px; } }
/* Плавная лента рандомайзера */
.question-machine-window { display: block; height: 240px; min-height: 240px; padding: 0; overflow: hidden; }
.question-reel { height: 100%; transform: translateY(0); will-change: transform; }
.question-machine-window .question-reel-item { height: var(--question-window-height, 240px); max-width: 920px; margin: 0 auto; padding: 30px 5%; display: grid; place-items: center; color: var(--paper); text-align: center; font: 600 clamp(22px, 2.6vw, 34px)/1.3 Unbounded, sans-serif; letter-spacing: -.05em; }
.question-machine.is-spinning .question-machine-window p { animation: none; }
.topic-button.topic-button-random { --topic-color: #fff; }
@media (max-width: 760px) { .question-machine-window { height: 230px; min-height: 230px; padding: 0; } .question-machine-window .question-reel-item { height: var(--question-window-height, 230px); padding: 24px 0; font-size: 21px; } }