@import url("site-intro.css");

/* Admin draft preview of unpublished landing */
.draft-preview-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .75rem;
  align-items: baseline;
  padding: .65rem 1rem;
  background: #2a2114;
  color: #f6e7c8;
  font-size: .88rem;
  border-bottom: 1px solid rgba(246, 231, 200, .18);
}
.draft-preview-bar strong {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
  color: #e8b15a;
}
.draft-preview-bar span { opacity: .9 }

/* Mini-markdown from admin: **bold** _italic_ [link](url) - list */
.rich-list {
  margin: .55em 0 0;
  padding: 0 0 0 1.15em;
  display: grid;
  gap: .35em;
}
.rich-list:first-child { margin-top: 0 }
.rich-list li { margin: 0 }
.lp-hero__lead strong,
.sec-head__lead strong,
.hero__lead strong,
.sp-band__text strong,
.step-session__text strong,
.step-result__text strong,
.step-bridge__text strong,
.step__text strong {
  font-weight: 700;
}
.lp-hero__lead em,
.sec-head__lead em,
.hero__lead em,
.sp-band__text em {
  font-style: italic;
}
.lp-hero__lead a,
.sec-head__lead a,
.hero__lead a,
.sp-band__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
}

/* Type size presets from admin: s | m | l | xl */
.ts--s { --ts: .82 }
.ts--m { --ts: 1 }
.ts--l { --ts: 1.18 }
.ts--xl { --ts: 1.38 }

/* Accents inside big titles — relative to parent heading */
.step__title .dim[class*="ts--"],
.step__title .lit[class*="ts--"],
.lp-hero__line--accent[class*="ts--"] {
  font-size: calc(1em * var(--ts, 1));
}

/* Block text / headings — explicit scales (keep clamp feel) */
.hero__brand.ts--s { font-size: clamp(2.4rem, 8vw, 3.7rem) }
.hero__brand.ts--l { font-size: clamp(3.5rem, 12vw, 5.8rem) }
.hero__brand.ts--xl { font-size: clamp(3.9rem, 13.5vw, 6.5rem) }

.hero__promise.ts--s { font-size: clamp(.95rem, 2vw, 1.7rem) }
.hero__promise.ts--l { font-size: clamp(1.35rem, 2.8vw, 2.55rem) }
.hero__promise.ts--xl { font-size: clamp(1.55rem, 3.2vw, 2.9rem) }

.hero__lead.ts--s { font-size: clamp(.92rem, 1.8vw, 1.05rem) }
.hero__lead.ts--l { font-size: clamp(1.15rem, 2.4vw, 1.4rem) }
.hero__lead.ts--xl { font-size: clamp(1.25rem, 2.7vw, 1.55rem) }

.ladder__head h2.ts--s { font-size: clamp(1.55rem, 3.5vw, 2.2rem) }
.ladder__head h2.ts--l { font-size: clamp(2.1rem, 5vw, 3.1rem) }
.ladder__head h2.ts--xl { font-size: clamp(2.35rem, 5.6vw, 3.5rem) }

.ladder__lead.ts--s { font-size: .92rem }
.ladder__lead.ts--l { font-size: 1.2rem }
.ladder__lead.ts--xl { font-size: 1.35rem }

.step__text.ts--s { font-size: clamp(.92rem, 1.7vw, 1.02rem) }
.step__text.ts--l { font-size: clamp(1.12rem, 2.3vw, 1.32rem) }
.step__text.ts--xl { font-size: clamp(1.22rem, 2.6vw, 1.5rem) }

.sec-head h2.ts--s { font-size: clamp(1.55rem, 3.5vw, 2.2rem) }
.sec-head h2.ts--l { font-size: clamp(2.1rem, 5vw, 3.1rem) }
.sec-head h2.ts--xl { font-size: clamp(2.35rem, 5.6vw, 3.5rem) }

.about__copy h2.ts--s { font-size: clamp(1.55rem, 3.5vw, 2.2rem) }
.about__copy h2.ts--l { font-size: clamp(2.15rem, 5vw, 3.15rem) }
.about__copy h2.ts--xl { font-size: clamp(2.4rem, 5.6vw, 3.55rem) }

.about__quote.ts--s { font-size: .98rem }
.about__quote.ts--l { font-size: 1.25rem }
.about__quote.ts--xl { font-size: 1.4rem }

.about__quote--text.ts--s > p,
.about__quote--text.ts--s .about__path-text { font-size: .95rem }
.about__quote--text.ts--l > p,
.about__quote--text.ts--l .about__path-text { font-size: 1.14rem }
.about__quote--text.ts--xl > p,
.about__quote--text.ts--xl .about__path-text { font-size: 1.28rem }
.about__quote--text > p:last-child,
.about__quote--text > .about__paths:last-child { margin-bottom: 0 }

.book__copy h2.ts--s { font-size: clamp(1.4rem, 3.4vw, 2.1rem) }
.book__copy h2.ts--l { font-size: clamp(1.95rem, 4.6vw, 3rem) }
.book__copy h2.ts--xl { font-size: clamp(2.2rem, 5.2vw, 3.4rem) }

.book__copy p.ts--s { font-size: .92rem }
.book__copy p.ts--l { font-size: 1.15rem }
.book__copy p.ts--xl { font-size: 1.28rem }

.lp-hero__lead.ts--s { font-size: .95rem }
.lp-hero__lead.ts--l { font-size: 1.22rem }
.lp-hero__lead.ts--xl { font-size: 1.38rem }

#hero-title.ts--s { font-size: clamp(2.1rem, 7vw, 3.2rem) }
#hero-title.ts--l { font-size: clamp(2.9rem, 9vw, 4.6rem) }
#hero-title.ts--xl { font-size: clamp(3.3rem, 10vw, 5.2rem) }

/* Shared bottom chrome: book (запись), footer, dock — same on every page */

.book {
  padding: 0 0 clamp(4rem, 9vw, 6rem);
}
.book__panel {
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.8rem, 5vw, 3rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(232, 145, 90, .3), transparent 50%),
    linear-gradient(145deg, #1a2a3a, var(--ink, #0e1621));
  color: #f6f3ee;
  box-shadow: 0 40px 80px -40px rgba(14, 22, 33, .7);
}
@media (min-width: 820px) {
  .book__panel {
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
  }
}
.book__copy .kicker,
.book__copy .kicker--light {
  color: rgba(232, 145, 90, .95);
}
.book__copy h2 {
  margin: .35rem 0 0.85rem;
  font-family: var(--display, "Bricolage Grotesque", system-ui, sans-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  letter-spacing: -.03em;
  line-height: 1.12;
  color: #fff;
}
.book__copy p:last-child {
  margin: 0;
  color: rgba(246, 243, 238, .72);
  max-width: 34ch;
}
.book__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.book__phone {
  font-family: var(--display, "Bricolage Grotesque", system-ui, sans-serif);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -.03em;
  text-decoration: none;
  line-height: 1.1;
  color: #fff;
}
.book__phone:hover { color: var(--warm-soft, #f0b48a) }
.book__extra {
  font-weight: 700;
  font-size: .95rem;
  color: rgba(246, 243, 238, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 145, 90, .5);
}
.book__extra:hover { color: #fff }

.foot {
  padding: 1.6rem 0 calc(6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line, rgba(14, 22, 33, .08));
}
@media (min-width: 760px) {
  .foot { padding-bottom: 2.2rem }
}
.foot__inner,
.foot__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .85rem 1.5rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--mute, #667181);
}
.foot__copy {
  display: grid;
  gap: .35rem;
  max-width: 46rem;
}
.foot__brand {
  margin: 0;
  color: var(--ink-2, #243041);
  font-weight: 700;
}
.foot__rights {
  margin: 0;
  font-size: .8rem;
  font-weight: 550;
  line-height: 1.45;
  max-width: 52ch;
}
.foot__meta {
  display: grid;
  gap: .35rem;
  justify-items: start;
  text-align: left;
}
@media (min-width: 760px) {
  .foot__meta {
    justify-items: end;
    text-align: right;
  }
}
.foot__note { margin: 0 }
.foot__dev {
  margin: 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--mute, #667181);
}
.foot__dev a {
  font-weight: 700;
  color: var(--ink-2, #243041);
  letter-spacing: .02em;
}
.foot p { margin: 0 }
.foot a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: inherit;
}
.foot a:hover {
  color: var(--ink, #0e1621);
  border-bottom-color: var(--warm, #e8915a);
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: .65rem;
  justify-content: center;
  padding: .75rem clamp(1rem, 4vw, 1.5rem) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(243, 239, 231, .96);
  border-top: 1px solid var(--line, rgba(14, 22, 33, .08));
  transform: translateY(110%);
  transition: transform .3s ease;
}
.dock.is-on { transform: none }
.dock .btn {
  flex: 1;
  max-width: 240px;
  min-height: 2.9rem;
}
@media (min-width: 760px) {
  .dock { display: none }
}
