/* ──────────────────────────────────────────────
   ABOUT PAGE — /about/ (Обо мне) — рерайт 2026-06-20
   Типографический язык главной. Портрет-hero, проза,
   лейбл-реестр «Линия», cert-лайтбокс (CSS в main.css).
   ────────────────────────────────────────────── */

.about-page { max-width: 760px; margin: 0 auto; padding: 0 var(--content-padding); }

/* HERO */
.about-hero { padding: 32px 0 8px; }
@media (min-width: 768px) {
  .about-hero { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 56px 0 12px; }
}
.about-hero-portrait img { width: 100%; max-width: 240px; height: auto; border-radius: var(--radius-md); display: block; margin: 0 auto 20px; }
@media (min-width: 768px) { .about-hero-portrait img { margin: 0; } }
.about-hero h1 { font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem; line-height: 1.1; margin: 0 0 8px; color: var(--text); }
@media (min-width: 768px) { .about-hero h1 { font-size: 2.9rem; } }
.about-hero-3p { font-family: var(--font-body); font-weight: 500; font-size: 1.05rem; color: var(--text); margin: 0 0 4px; }
.about-hero-sub { font-family: var(--font-heading); font-style: italic; font-weight: 400; font-size: 1.05rem; color: var(--text-muted); margin: 0 0 16px; }
.about-lead { font-family: var(--font-body); font-weight: 300; font-size: 1.05rem; line-height: 1.75; color: var(--text-muted); margin: 0; }
.about-lead .accent { color: var(--text); font-weight: 400; }

/* СЕКЦИЯ + лейбл (разделение — золотой штрих лейбла + воздух, без отдельной линейки) */
.about-section { padding: 40px 0 8px; }
.about-label { font-family: var(--font-body); font-weight: 400; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-light); display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.about-label::before { content: ''; width: 24px; height: 1px; background: var(--highlight); }

/* ПРОЗА («Путь», верх «Линии») */
.about-prose { font-family: var(--font-body); font-weight: 300; font-size: 1.04rem; line-height: 1.85; color: var(--text-muted); max-width: 64ch; }
.about-prose p { margin: 0 0 18px; }
.about-prose p:last-child { margin: 0; }
.about-prose .lead-accent { color: var(--text); font-weight: 400; }

/* РЕЕСТР «Линии» — лейбл-поля (бухгалтерский тон) */
.about-ledger { max-width: 64ch; margin: 8px 0 0; font-size: .98rem; line-height: 1.7; }
.about-ledger-row { display: block; margin: 0 0 8px; color: var(--text-muted); }
.about-ledger-row b { color: var(--text); font-weight: 500; }
.about-ledger-quals { margin: 18px 0 14px; color: var(--text); font-weight: 500; }
.about-ledger-cert { display: block; margin: 0 0 8px; color: var(--text-muted); padding-left: 16px; position: relative; }
.about-ledger-cert::before { content: '▸'; position: absolute; left: 0; color: var(--highlight); }
.about-ledger-cert b { color: var(--text); font-weight: 500; }

/* Сертификаты — миниатюры + лайтбокс (как на AAM) */
.about-certs { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 6px; }
.about-cert-thumb { display: block; width: 300px; max-width: 47%; aspect-ratio: 4 / 3; border: 1px solid var(--card-border); border-radius: var(--radius-md); overflow: hidden; background: #fff; cursor: zoom-in; transition: border-color .15s; }
.about-cert-thumb:hover { border-color: var(--highlight); }
.about-cert-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.about-cert-registry { display: inline-block; margin: 6px 0 0; font-size: .82rem; color: var(--accent); text-decoration: none; }

/* ФИНАЛ — Оставайтесь рядом / Подкасты / Поддержать */
.about-final { padding: 40px 0 64px; }
.about-final-block { margin: 0 0 32px; }
.about-final-block:last-child { margin: 0; }
.about-stay-lead { font-family: var(--font-body); font-weight: 300; font-size: 1.04rem; line-height: 1.75; color: var(--text-muted); max-width: 60ch; margin: 0 0 18px; }
.about-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.about-btn { display: inline-block; font-family: var(--font-body); font-weight: 500; font-size: .92rem; text-decoration: none; padding: 11px 24px; border-radius: 8px; border: 1px solid var(--accent); color: var(--accent); transition: background .15s; }
.about-btn:hover { background: rgba(26,123,123,.07); }
.about-btn--solid { background: var(--accent); color: #fff; }
.about-btn--solid:hover { filter: brightness(1.06); background: var(--accent); }
.about-podcasts { list-style: none; padding: 0; margin: 0; }
.about-podcasts li { margin: 0 0 10px; }
.about-podcasts a { font-family: var(--font-heading); font-size: 1.05rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--highlight); padding-bottom: 1px; }
.about-podcasts a:hover { color: var(--accent); }
.about-support-lead { font-family: var(--font-body); font-weight: 300; font-size: 1.02rem; line-height: 1.7; color: var(--text-muted); max-width: 58ch; margin: 0 0 16px; }

/* ============================================================
   CONTACT PAGE — /contact/ (Контакты)
   Channels + platforms + subscribe
   ============================================================ */

/* ── PLATFORMS GRID ── */
.contact-platforms {
  padding: 0 var(--content-padding) var(--space-xl);
}

@media (min-width: 768px) {
  .contact-platforms {
    padding-bottom: var(--space-2xl);
  }
}

.contact-platform-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-platform-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.contact-platform-group h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.733rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-links a {
  font-size: 0.866rem;
  font-weight: 400;
  color: var(--accent);
}

/* ── SUBSCRIBE SECTION ── */
.contact-subscribe {
  padding: 0 var(--content-padding) var(--space-xl);
  max-width: 560px;
}

@media (min-width: 768px) {
  .contact-subscribe {
    padding-bottom: var(--space-2xl);
  }
}

.contact-subscribe h3 {
  font-weight: 700;
  font-size: 1.133rem;
  margin-bottom: 8px;
}

.contact-subscribe p {
  font-weight: 300;
  font-size: 0.866rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.contact-subscribe-form {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.contact-subscribe-placeholder {
  font-size: 0.733rem;
  color: var(--text-light);
  font-style: italic;
}


/* ============================================================
   LEGAL PAGES — /privacy/ & /terms/
   Prose-heavy pages with lists and subsections
   ============================================================ */

/* Date under page header */
.legal-date {
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Legal prose: extends about-prose with list styling */
.legal-prose ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2em;
}

.legal-prose li {
  font-weight: 300;
  font-size: 0.933rem;
  line-height: 1.75;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 0.3em;
}

.legal-prose li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--highlight);
  opacity: 0.6;
}

.legal-prose strong {
  font-weight: 500;
  color: var(--text);
}

.legal-prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(26, 123, 123, 0.2);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.legal-prose a:hover {
  border-color: var(--accent);
  opacity: 1;
}

/* Нумерованные списки (оферта 6.7/6.8) — нативные цифры, без золотой точки */
.legal-prose ol {
  list-style: decimal;
  padding-left: 22px;
  margin-bottom: 1.2em;
}
.legal-prose ol li {
  padding-left: 4px;
}
.legal-prose ol li::before {
  display: none;
}

/* Формулы (оферта 4.9) — по центру, спокойно */
.legal-formula {
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin: 0.6em 0 0.4em;
  color: var(--text);
}
