/* StartupAssist landing — site styles (см. docs/02_design.md) */
:root {
  --bg: #fbfbf9;
  --bg-soft: #f1f1ea;
  --ink: #000000;
  --text: #272727;
  --muted: #585858;
  --accent: #f37435;
  --teal: #57a4b5;
  --green: #4b8765;
  --red: #ca3742;
  --violet: #6e4d8b;
  --beige: #aa957f;
  --line: #e2dbd3;
}

html { scroll-behavior: smooth; }

body { font-family: 'Montserrat', sans-serif; }

/* --- Кнопки (см. 02_design.md §3) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 30px;
  height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn-orange { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-black  { background: var(--ink);  color: #fff; border-color: var(--ink); }
.btn-beige  { background: var(--beige); color: #000; border-color: var(--beige); }
.btn-rounded { border-radius: 50px; letter-spacing: normal; font-weight: 600; }

/* --- Бейджи --- */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 3px 10px;
  white-space: nowrap;
}
.badge-orange { background: var(--accent); color: #fff; }
.badge-green  { background: var(--green);  color: #fff; }
.badge-red    { background: var(--red);    color: #fff; }
.badge-teal   { background: var(--teal);   color: #fff; }
.badge-violet { background: var(--violet); color: #fff; }
.badge-beige  { background: var(--beige);  color: #000; }
.badge-black  { background: var(--ink);    color: #fff; }

/* --- Карточки --- */
.card {
  background: #fff;
  border: 1px solid #dbdbdb;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}
.card-soft { box-shadow: 0 10px 30px rgba(0, 0, 0, .06); }

/* --- Секции --- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 100px 0; } }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent);
  margin-bottom: 12px;
}

.h2-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.2;
  color: var(--ink);
}
@media (min-width: 768px) { .h2-title { font-size: 36px; } }

.lead { color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (min-width: 768px) { .lead { font-size: 17px; } }

/* --- Появление при скролле --- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* --- FAQ аккордеон --- */
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform .3s ease; }

/* --- Мера: сумма --- */
.measure-sum { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
@media (min-width: 768px) { .measure-sum { font-size: 30px; } }

/* --- Счётчики --- */
.counter-value { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1; }
@media (min-width: 768px) { .counter-value { font-size: 44px; } }

/* --- Hero: симуляция чата (см. docs/02_design.md) --- */
.hero-chat {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  background: #14161a;
  border: 1px solid #262a31;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
}
.hero-chat [hidden] { display: none !important; }
.hero-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #1b1e24;
  border-bottom: 1px solid #262a31;
}
.hero-chat__avatar { width: 40px; height: 40px; flex: none; }
.hero-chat__avatar svg { width: 100%; height: 100%; display: block; }
.hero-chat__name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.hero-chat__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--beige);
}
.hero-chat__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(75, 135, 101, .25);
}
.hero-chat__body {
  height: 300px;
  padding: 12px 14px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-chat__date {
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.hero-chat__row { display: flex; }
.hero-chat__row--bot { justify-content: flex-start; }
.hero-chat__row--user { justify-content: flex-end; }
.hero-chat__bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: #22262d;
  color: #e8e6e3;
  font-size: 13px;
  line-height: 1.5;
}
.hero-chat__row--user .hero-chat__bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}
.hero-chat__typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 13px 16px;
  background: #22262d;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.hero-chat__typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7d8289;
  animation: heroChatBlink 1.2s infinite;
}
.hero-chat__typing span:nth-child(2) { animation-delay: .15s; }
.hero-chat__typing span:nth-child(3) { animation-delay: .3s; }
.hero-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 14px;
}
.hero-chat__chip {
  padding: 7px 14px;
  border: 1px solid #3a4b52;
  border-radius: 50px;
  background: transparent;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.hero-chat__chip:hover { background: rgba(87, 164, 181, .12); border-color: var(--teal); }
.hero-chat__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-decoration: none;
  transition: opacity .15s ease, transform .15s ease;
}
.hero-chat__link:hover { opacity: .9; }
.hero-chat__link svg { width: 16px; height: 16px; flex: none; }
@keyframes heroChatBlink {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* --- Документный текст (privacy) --- */
.prose { color: var(--text); font-size: 15px; line-height: 1.7; }
.prose h2 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 40px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 4px; }
.prose a { color: var(--teal); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
