/* Fashion Animal — лендинг. Палитра и тон согласованы с Mini App (--accent #b3536d). */

:root {
  --accent: #b3536d;
  --accent-dark: #8f3d54;
  --accent-soft: #f6e7ec;
  --bg: #fffafb;
  --bg-alt: #f7f1f3;
  --ink: #1c1418;
  --muted: #6f6168;
  --line: #ecdfe3;
  --white: #ffffff;
  --radius: 20px;
  --maxw: 1080px;
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --display: "Unbounded", var(--font);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

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

/* ───────── Кнопки ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-family: var(--font);
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(179,83,109,.28); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(179,83,109,.34); }
.btn--ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 17px; }

/* ───────── Шапка ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,250,251,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(28,20,24,.05); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.brand__mark { width: 28px; height: 28px; display: block; flex: none; }
.brand__name { font-family: var(--display); font-size: 16px; letter-spacing: .02em; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: 8px; }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow {
  display: inline-block; margin: 0 0 22px; padding: 7px 16px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px;
}
.hero__title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 7vw, 68px); line-height: 1.04; letter-spacing: -.01em;
  margin: 0 0 24px;
}
.hero__sub { font-size: clamp(17px, 2.3vw, 21px); color: var(--muted); margin: 0 0 36px; max-width: 620px; }
.hero__sub strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
.hero__glow {
  position: absolute; z-index: 1; top: -180px; right: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(179,83,109,.20), rgba(179,83,109,0) 70%);
  pointer-events: none;
}

/* ───────── Секции ───────── */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.5vw, 42px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -.01em; }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0 0 44px; }

/* ───────── Шаги ───────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 40px 0 0; padding: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.step__num { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--accent); }
.step__title { font-size: 21px; font-weight: 800; margin: 14px 0 10px; }
.step__text { font-size: 16px; color: var(--muted); margin: 0; }
.step__text strong { color: var(--ink); }

/* ───────── Карточки сценариев ───────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,20,24,.08); }
.card__icon { font-size: 34px; }
.card__title { font-size: 21px; font-weight: 800; margin: 16px 0 10px; }
.card__text { font-size: 16px; color: var(--muted); margin: 0; }

/* ───────── Почему мы ───────── */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
.why__item { position: relative; padding-top: 20px; border-top: 3px solid var(--accent); }
.why__title { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.why__text { font-size: 16px; color: var(--muted); margin: 0; }

/* ───────── Манифест ───────── */
.manifesto { background: var(--accent); color: #fff; padding: 80px 0; }
.manifesto__quote { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.3; max-width: 860px; margin: 0 auto; text-align: center; }
.manifesto__by { text-align: center; margin: 26px 0 0; font-weight: 700; opacity: .85; }

/* ───────── CTA ───────── */
.cta { padding: 96px 0; text-align: center; }
.cta__inner { max-width: 620px; }
.cta__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5vw, 46px); margin: 0 0 14px; }
.cta__sub { font-size: 18px; color: var(--muted); margin: 0 0 32px; }

/* ───────── Подвал ───────── */
.foot { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-alt); }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; font-weight: 600; color: var(--muted); }
.foot__links a:hover { color: var(--accent); }
.foot__copy { margin: 0 0 0 auto; font-size: 14px; color: var(--muted); }

/* ───────── Адаптив ───────── */
@media (max-width: 860px) {
  .steps, .cards, .why { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .nav .btn--sm { padding: 9px 14px; font-size: 13px; }
  .foot__copy { margin: 0; }
}
