/* ShoDe — сторінка «Про проєкт» */

.about {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 112px);
  padding-top: clamp(48px, 7vw, 96px);
}

/* ── маніфест ───────────────────────────────────────────── */
.about__intro { display: flex; flex-direction: column; gap: 26px; }

.about__title {
  max-width: 15ch;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(40px, 8vw, 104px);
  line-height: .9;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.about__lead {
  max-width: 56ch;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
  color: var(--text-lead);
  text-wrap: pretty;
}

.about__h2 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

/* ── цифри ──────────────────────────────────────────────── */
.numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 2px;
}

.number {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--surface-card);
}

.number__num {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: .92;
  letter-spacing: -.045em;
  color: var(--accent);
}

.number__label {
  margin-top: auto;
  font-size: var(--text-body-m);
  line-height: 1.5;
  color: var(--text-quiet);
}

/* ── навіщо ─────────────────────────────────────────────── */
.about__why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about__why .about__h2 { max-width: 16ch; margin-top: 14px; }

.about__why-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 62ch;
}

.about__why-text p {
  font-size: var(--text-body-l);
  line-height: 1.68;
  color: var(--text-lead);
  text-wrap: pretty;
}

/* ── правила ────────────────────────────────────────────── */
/* Тло на всю ширину, поля — від .container всередині (без 100vw) */
.rules {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--surface-card);
}

.rules__inner { display: flex; flex-direction: column; gap: 34px; }

.rules__title { max-width: 18ch; text-wrap: balance; }

.rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 34px;
}

.rule {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(203, 184, 221, .18);
}

.rule__no {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--text-tertiary);
}

.rule__title {
  font-family: var(--font-display);
  font-weight: var(--weight-strong);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -.022em;
  text-wrap: pretty;
}

.rule__text {
  font-size: var(--text-body-m);
  line-height: var(--lh-body);
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ── автор ──────────────────────────────────────────────── */
.about-author {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.ratio-4x5 { aspect-ratio: 4 / 5; }

.about-author__photo {
  position: relative;
  max-width: 420px;
  overflow: hidden;
  background: var(--surface-card);
}

.about-author__photo > img { width: 100%; height: 100%; object-fit: cover; }
.about-author__photo::after { opacity: .2; }

.about-author__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 54ch;
}

.about-author__text p {
  font-size: var(--text-body-l);
  line-height: 1.68;
  color: var(--text-lead);
  text-wrap: pretty;
}

.about-author__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.about-author__link { padding: 14px 22px; min-height: 0; font-size: 16px; font-weight: var(--weight-regular); }

/* ── FAQ ────────────────────────────────────────────────── */
.faqs { display: flex; flex-direction: column; gap: 30px; }

.faqs__title { max-width: 18ch; text-wrap: balance; }

.faqs__list { display: flex; flex-direction: column; }

.faq { border-top: 1px solid rgba(203, 184, 221, .12); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--weight-strong);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
  letter-spacing: -.022em;
  cursor: pointer;
}

.faq__q:hover { color: var(--accent); }

.faq__mark {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
  transition: transform var(--dur-fast) var(--ease);
}

.faq__q[aria-expanded="true"] .faq__mark { transform: rotate(45deg); }

.faq__a {
  max-width: 62ch;
  padding-bottom: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* ── заклик ─────────────────────────────────────────────── */
.about__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(36px, 5vw, 64px);
  background: var(--plum-700);
}

.about__cta-title {
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: .98;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.about__cta-text {
  max-width: 48ch;
  font-size: 18px;
  line-height: var(--lh-body);
  color: var(--text-lead);
}

.about__cta-btn { padding: 17px 28px; font-size: 16px; }
