/* ==========================================================================
   Path Of Stones — style.css
   Mobile first. Під кожним базовим (мобільним) правилом одразу йде
   @media для десктопу (min-width: 1024px), подекуди — планшет (min-width: 640px).
   Контейнер — 1200px, центрується.
   Особливість: перші три секції (hero + story + play) лежать усередині .scene
   і ділять ОДНЕ фонове фото (img/hero-bg.jpg).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ЗМІННІ
   -------------------------------------------------------------------------- */
:root {
  --cream:        #f7f2ea;
  --cream-soft:   #fbf8f2;
  --paper:        #fffdf9;

  --ink:          #262220;
  --text:         #3a3430;
  --muted:        #6b635c;
  --dim:          #8a827a;

  --purple:       #7a1fa2;
  --purple-dark:  #5f177f;
  --purple-light: #9b3fc4;

  --stone:        #1c1a19;
  --line:         #e4ddd1;
  --line-soft:    #ece5da;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --radius: 16px;

  --ease: cubic-bezier(.22, .68, .36, 1);
}

/* --------------------------------------------------------------------------
   2. RESET / БАЗА
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 1024px) {
  body { font-size: 15px; }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; font-weight: bold;}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 18px;
  background-color: var(--purple);
  color: #fff;
}
.skip-link:focus { left: 0; }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   3. КОНТЕЙНЕР
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (min-width: 1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* --------------------------------------------------------------------------
   4. ХЕДЕР (плаваюча «пігулка»)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}
@media (min-width: 1024px) {
  .header { padding: 18px 0; }
}

.header__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(90, 70, 50, .12);
}
@media (min-width: 1024px) {
  .header__bar {
    padding: 12px 28px;
  }
}

/* Фон і блюр винесені в псевдоелемент навмисно:
   backdrop-filter на самому .header__bar зробив би його containing block
   для position: fixed, і мобільне меню позиціонувалось би від пігулки, а не від вікна. */
.header__bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  background-color: rgba(255, 253, 249, .78);
  backdrop-filter: blur(12px);
}

.logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  transition: transform .3s var(--ease), color .3s var(--ease);
}
.logo:hover {
  transform: scale(1.04);
  color: var(--purple);
}
@media (min-width: 1024px) {
  .logo { font-size: 18px; }
}

/* --- бургер: три точки, при відкритті стягуються в стовпчик --- */
.burger {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.burger:hover {
  transform: scale(1.06);
  border-color: var(--purple-light);
}
@media (min-width: 1024px) {
  .burger { display: none; }
}

.burger__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--stone);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.burger.is-open .burger__dot:nth-child(1) { transform: translateX(11px); }
.burger.is-open .burger__dot:nth-child(2) { opacity: 0; transform: scale(.4); }
.burger.is-open .burger__dot:nth-child(3) { transform: translateX(-11px); }

/* --- навігація --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  padding: 40px 24px;
  background-color: rgba(247, 242, 234, .97);
  backdrop-filter: blur(14px);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s linear .45s;
}
.nav.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .45s var(--ease), visibility 0s;
}
@media (min-width: 1024px) {
  .nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background-color: transparent;
    backdrop-filter: none;
    transform: none;
    visibility: visible;
    transition: none;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
@media (min-width: 1024px) {
  .nav__list {
    flex-direction: row;
    gap: 30px;
  }
}

.nav__item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.nav.is-open .nav__item { opacity: 1; transform: none; }
.nav.is-open .nav__item:nth-child(1) { transition-delay: .10s; }
.nav.is-open .nav__item:nth-child(2) { transition-delay: .16s; }
.nav.is-open .nav__item:nth-child(3) { transition-delay: .22s; }
.nav.is-open .nav__item:nth-child(4) { transition-delay: .28s; }
.nav.is-open .nav__item:nth-child(5) { transition-delay: .34s; }
.nav.is-open .nav__item:nth-child(6) { transition-delay: .40s; }
@media (min-width: 1024px) {
  .nav__item { opacity: 1; transform: none; transition: none; }
}

.nav__link {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav__link:hover,
.nav__link:focus-visible {
  color: var(--purple);
  transform: scale(1.06);
}
@media (min-width: 1024px) {
  .nav__link {
    padding: 4px 2px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
  }
}

/* --------------------------------------------------------------------------
   5. КНОПКИ
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background-color .3s var(--ease), color .3s var(--ease);
}
.btn:hover,
.btn:focus-visible { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(-1px) scale(1); }
@media (min-width: 1024px) {
  .btn {
    min-height: 52px;
    padding: 16px 38px;
    font-size: 12.5px;
  }
}

.btn--lg {
  min-height: 52px;
  padding: 16px 40px;
}
@media (min-width: 1024px) {
  .btn--lg {
    min-height: 58px;
    padding: 19px 52px;
    font-size: 13px;
  }
}

.btn--solid {
  background-image: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: #fff;
  box-shadow: 0 8px 24px rgba(122, 31, 162, .28);
}
.btn--solid:hover,
.btn--solid:focus-visible {
  box-shadow: 0 16px 36px rgba(122, 31, 162, .42);
}

/* --------------------------------------------------------------------------
   6. SCENE — спільне фото-тло для перших трьох секцій
   -------------------------------------------------------------------------- */
.scene {
  position: relative;
  /* Одна картинка на hero + story + play.
     Порада: беріть високе вертикальне фото; воно масштабується по ширині. */
  background-color: #efe6db; /* заглушка, поки немає фото */
  background-image: url("img/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
}
@media (min-width: 1024px) {
  .scene {
    background-size: 100% auto;
  }
}

/* легка світла вуаль для читабельності тексту поверх фото */
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 249, .28) 0%, rgba(255, 253, 249, 0) 22%);
}

.scene > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */
.hero {
  padding: 40px 0 56px;
}
@media (min-width: 1024px) {
  .hero { padding: 70px 0 120px; }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .hero__content { flex: 0 1 560px; }
}

.hero__title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.01em;
}
@media (min-width: 1024px) {
  .hero__title { font-size: 62px; }
}

.hero__lead {
  margin-top: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .hero__lead {
    margin-top: 16px;
    font-size: 17px;
  }
}

.hero__mono {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 54ch;
  color: var(--text);
  font-size: 13px;
  font-style: italic;
  line-height: 1.75;
}
@media (min-width: 1024px) {
  .hero__mono {
    margin-top: 26px;
    font-size: 14px;
  }
}

.hero__content .btn {
  margin-top: 28px;
}
@media (min-width: 1024px) {
  .hero__content .btn { margin-top: 36px; }
}

.hero__visual {
  margin: 0;
  transition: transform .6s var(--ease);
}
.hero__visual img { width: 100%; }
@media (min-width: 1024px) {
  .hero__visual {
    flex: 0 0 46%;
    margin-top: -10px;
  }
  .hero__visual:hover { transform: translateY(-8px) scale(1.02); }
}

/* --------------------------------------------------------------------------
   8. STORY
   -------------------------------------------------------------------------- */
.story {
  padding: 40px 0;
  text-align: center;
}
@media (min-width: 1024px) {
  .story { padding: 80px 0; }
}

.section__title {
  font-size: 27px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .section__title { font-size: 42px; }
}

.story__title {
  margin-bottom: 18px;
}
@media (min-width: 1024px) {
  .story__title { margin-bottom: 26px; }
}

.story__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 74ch;
  margin: 0 auto;
  color: var(--text);
  font-size: 13px;
  font-style: italic;
  line-height: 1.75;
}
@media (min-width: 1024px) {
  .story__text { font-size: 14.5px; }
}

/* --------------------------------------------------------------------------
   9. PLAY / RULES
   -------------------------------------------------------------------------- */
.rules {
  padding: 48px 0 64px;
  text-align: center;
}
@media (min-width: 1024px) {
  .rules { padding: 90px 0 130px; }
}

.rules__title {
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .rules__title {
    margin-bottom: 22px;
    font-size: 40px;
  }
}

.rules__sub {
  max-width: 60ch;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}
@media (min-width: 1024px) {
  .rules__sub {
    margin-bottom: 40px;
    font-size: 14px;
  }
}

.rules__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .rules__list { gap: 16px; }
}

.rule {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .3s var(--ease);
}
.rule:hover { transform: scale(1.04); }
/* парні пункти дзеркалимо — стовпчик звужується до центру */
.rule:nth-child(even) {
  flex-direction: row-reverse;
}
@media (min-width: 640px) {
  .rule:nth-child(1) { margin-right: 22%; }
  .rule:nth-child(2) { margin-left: 22%; }
  .rule:nth-child(3) { margin-right: 8%; margin-left: 8%; justify-content: center; }
  .rule:nth-child(4) { margin-left: 22%; }
  .rule:nth-child(5) { margin-right: 22%; }
}

.rule__stone {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 32% 30%, #55504c, var(--stone) 62%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}
@media (min-width: 1024px) {
  .rule__stone { width: 20px; height: 20px; }
}

.rule__text {
  color: var(--text);
  font-size: 13px;
  font-style: italic;
}
@media (min-width: 1024px) {
  .rule__text { font-size: 15px; }
}

.rules__outro {
  max-width: 64ch;
  margin: 34px auto 0;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.75;
}
@media (min-width: 1024px) {
  .rules__outro {
    margin-top: 48px;
    font-size: 14px;
  }
}

/* --------------------------------------------------------------------------
   10. СЕКЦІЯ (поза scene)
   -------------------------------------------------------------------------- */
.section {
  padding: 56px 0;
}
@media (min-width: 1024px) {
  .section { padding: 100px 0; }
}

/* --------------------------------------------------------------------------
   11. MODES — «Choose How You Play»
   -------------------------------------------------------------------------- */
.modes {
  background-color: var(--cream-soft);
}
@media (min-width: 1024px) {
  .modes { background-color: var(--cream-soft); }
}

.modes__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 1024px) {
  .modes__inner {
    flex-direction: row;
    align-items: center;
    gap: 70px;
  }
}

.modes__media {
  margin: 0 auto;
  max-width: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(90, 70, 50, .18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.modes__media:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 28px 60px rgba(90, 70, 50, .26);
}
@media (min-width: 1024px) {
  .modes__media {
    flex: 0 0 320px;
    max-width: none;
    margin: 0;
  }
}

.modes__body {
  display: flex;
  flex-direction: column;
}
@media (min-width: 1024px) {
  .modes__body { flex: 1 1 auto; }
}

.modes__intro {
  margin: 16px 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}
@media (min-width: 1024px) {
  .modes__intro {
    margin: 22px 0 28px;
    font-size: 14px;
  }
}

.modes__group {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.modes__group:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 1024px) {
  .modes__group { padding: 20px 0; }
}

.modes__label {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .modes__label { font-size: 15px; }
}

.modes__sizes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}
@media (min-width: 1024px) {
  .modes__sizes { font-size: 14px; }
}

.modes__size {
  font-style: normal;
  font-weight: 600;
  color: var(--text);
}

.modes__desc {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .modes__desc { font-size: 14px; }
}

/* --------------------------------------------------------------------------
   12. FAQ — «Before You Place the Next Stone» (акордеон)
   -------------------------------------------------------------------------- */
.faq {
  position: relative;
  background-color: var(--cream);
  background-image: url("img/faq-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
@media (min-width: 1024px) {
  .faq { background-size: cover; }
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: rgba(250, 246, 240, .72);
}

.faq__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 1024px) {
  .faq__inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
}

.faq__body { flex: 1 1 auto; }

.faq__body .section__title {
  margin-bottom: 22px;
}
@media (min-width: 1024px) {
  .faq__body .section__title { margin-bottom: 30px; }
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 1024px) {
  .faq__list { gap: 10px; }
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 4px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.faq__q:hover { transform: translateX(4px); }
@media (min-width: 1024px) {
  .faq__q { padding: 18px 4px; }
}

.faq__stone {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 32% 30%, #55504c, var(--stone) 62%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.faq__q-text {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .faq__q-text { font-size: 15px; }
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--purple);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.faq__icon::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq__icon::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}

.faq__a > p {
  padding: 0 4px 18px 39px;
  color: var(--muted);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.7;
}
@media (min-width: 1024px) {
  .faq__a > p { font-size: 13.5px; }
}

.faq__media {
  margin: 0 auto;
  max-width: 240px;
  transition: transform .6s var(--ease);
}
.faq__media:hover { transform: translateY(-8px) scale(1.02); }
@media (min-width: 1024px) {
  .faq__media {
    flex: 0 0 300px;
    max-width: 300px;
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   13. CTA — «Koro Is Already on the Board»
   -------------------------------------------------------------------------- */
.cta {
  background-color: var(--cream-soft);
  text-align: center;
}
@media (min-width: 1024px) {
  .cta { background-color: var(--cream-soft); }
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  margin-bottom: 18px;
  font-size: 27px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .cta__title {
    margin-bottom: 24px;
    font-size: 42px;
  }
}

.cta__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.75;
}
@media (min-width: 1024px) {
  .cta__text { font-size: 14.5px; }
}

.cta__inner .btn {
  margin-top: 30px;
}
@media (min-width: 1024px) {
  .cta__inner .btn { margin-top: 40px; }
}

/* --------------------------------------------------------------------------
   14. ФУТЕР
   -------------------------------------------------------------------------- */
.footer {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
  background-color: var(--cream);
}
@media (min-width: 1024px) {
  .footer { padding: 38px 0 44px; }
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer__list {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__sep { color: var(--dim); }

.footer__link {
  color: var(--muted);
  font-size: 12.5px;
  transition: color .25s var(--ease), transform .25s var(--ease);
  display: inline-block;
}
.footer__link:hover,
.footer__link:focus-visible {
  color: var(--purple);
  transform: scale(1.05);
}
@media (min-width: 1024px) {
  .footer__link { font-size: 13px; }
}

.footer__copy {
  color: var(--dim);
  font-size: 12px;
  font-style: italic;
}
@media (min-width: 1024px) {
  .footer__copy { font-size: 12.5px; }
}

/* --------------------------------------------------------------------------
   15. СТОРІНКИ PRIVACY / TERMS
   -------------------------------------------------------------------------- */
.page {
  padding: 40px 0 60px;
  min-height: 55vh;
}
@media (min-width: 1024px) {
  .page { padding: 70px 0 100px; }
}

.page__title {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .page__title {
    margin-bottom: 34px;
    font-size: 42px;
  }
}

.page__content {
  color: var(--text);
  font-size: 13px;
  line-height: 1.85;
}
@media (min-width: 1024px) {
  .page__content { font-size: 14px; }
}

.page__content h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}
@media (min-width: 1024px) {
  .page__content h2 {
    margin: 40px 0 12px;
    font-size: 24px;
  }
}

.page__content h3 {
  margin: 20px 0 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
@media (min-width: 1024px) {
  .page__content h3 {
    margin: 26px 0 10px;
    font-size: 16px;
  }
}

.page__content p { margin-bottom: 14px; }
@media (min-width: 1024px) {
  .page__content p { margin-bottom: 16px; }
}

.page__content ul,
.page__content ol {
  margin: 0 0 16px 20px;
  list-style: disc;
}
@media (min-width: 1024px) {
  .page__content ul,
  .page__content ol { margin-bottom: 20px; }
}

.page__content li { margin-bottom: 6px; }

.page__content a {
  color: var(--purple);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   16. ПОЯВА ПРИ СКРОЛІ (клас додає JS)
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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