:root {
  --page-bg: #f2ede4;
  --surface: #ffffff;
  --line: rgba(28, 24, 18, 0.12);
  --text-primary: #16130f;
  --text-secondary: rgba(22, 19, 15, 0.72);
  --text-muted: rgba(22, 19, 15, 0.52);
  --accent: #ef5a24;
  --accent-ink: #c8410f;
  --shadow: 0 16px 44px rgba(40, 28, 14, 0.08);
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--text-primary);
  background: linear-gradient(180deg, #fbfaf7 0%, var(--page-bg) 100%);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 14px 14px 108px;
}

.hero,
.block {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.block {
  margin-top: 14px;
}

/* eyebrow — плоская, без плашки */
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

/* headings */
h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.65rem, 5.6vw, 2.5rem);
  line-height: 1.16;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.4rem, 4.6vw, 1.85rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.32;
}

/* text */
.lead {
  margin: 16px 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.tagline {
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.nb {
  white-space: nowrap;
}

.promise {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: 0.98rem;
  line-height: 1.52;
  color: var(--text-primary);
}

.promise strong {
  white-space: nowrap;
  color: var(--accent-ink);
}

/* expert */
.expert {
  margin-top: 26px;
}

.expert__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.expert__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #e7e0d4;
}

.expert__media.is-empty::before {
  content: attr(data-initial);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-muted);
}

.expert__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.expert__name {
  margin: 0;
  font-size: clamp(1.35rem, 6vw, 1.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
}

.expert__points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 0.94rem;
  line-height: 1.44;
  color: var(--text-secondary);
}

.expert__points li {
  padding-left: 16px;
  position: relative;
}

.expert__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* cta — сплошной цвет, без градиента */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: background 160ms ease, transform 160ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: var(--accent-ink);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

.cta-button__icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.cta-button__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* fact list — редакторский стиль, без «баблов» */
.fact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.fact-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.fact-list strong {
  color: var(--text-primary);
  font-weight: 800;
}

/* persona list */
.persona-list article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.persona-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.persona-list h3 {
  margin-bottom: 8px;
}

.persona-list p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* footer — в самом низу, после последней кнопки */
.footer {
  margin-top: 22px;
  padding: 4px 6px 0;
}

.footer__fineprint {
  margin: 0 0 10px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer__meta {
  margin: 12px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* sticky cta */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  z-index: 20;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cta-button--sticky {
  margin-top: 0;
  min-height: 52px;
  box-shadow: 0 10px 28px rgba(40, 28, 14, 0.22);
}

@media (min-width: 640px) {
  .page-shell {
    padding: 26px 22px 120px;
  }

  .hero,
  .block {
    padding: 30px;
  }

  .expert__row {
    gap: 24px;
  }
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cta-button {
    transition: none;
  }
}
