/* GradoLead - сайт для заказчиков и проверки Creem. Система Explee (Глеб 05.11: «стилистика как у всех наших конкурентов»): Geist, заголовки 400,
   карточки 16 px с тенью в три слоя, плашки и линии того же веса; знак и цвета - из brand/. Шрифты свои, без внешних скриптов и cookies. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f3efe6;
  --card: #ffffff;
  --ink: #1f2a44;
  --muted: #5f6574;
  --ochre: #c58a1e;
  --ochre-ink: #a87316;
  --line: rgba(31, 42, 68, .1);
  --chip: rgba(31, 42, 68, .05);
  --shadow: 0 0 .5px rgba(31, 42, 68, .16), 0 3px 8px rgba(31, 42, 68, .08), 0 1px 3px rgba(31, 42, 68, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/24px "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0; }
b, strong { font-weight: 500; }

.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 10; background: rgba(243, 239, 230, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__in { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; }
.nav a { padding: 12px 16px; text-decoration: none; }
.nav a:hover { color: var(--muted); }
.nav .nav__bot { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 760px) {
  .nav a:not(.nav__bot) { display: none; }
  .nav .nav__bot { padding-right: 0; }
}

/* первый экран */
.hero { position: relative; overflow: hidden; }
.hero__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 108px; padding-bottom: 96px; }
.badge { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; margin-bottom: 24px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); font-size: 14px; }
h1 { font-size: 60px; line-height: 60px; letter-spacing: -1.8px; margin-bottom: 12px; }
.accent { color: var(--ochre-ink); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: var(--chip); font-size: 14px; line-height: 20px; }
.chips svg { width: 16px; height: 16px; }
.launch { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 480px; height: 58px; padding: 4px 4px 4px 20px;
          border: 1px solid var(--ink); border-radius: 16px; box-shadow: 0 0 0 2px var(--ink); background: var(--card); text-decoration: none; font-weight: 500; }
.launch__text { display: inline-flex; align-items: center; gap: 10px; }
.launch__text svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 420px) { .launch .wide { display: none; } }
.launch__go { display: grid; place-items: center; width: 46px; height: 42px; border-radius: 10px; background: var(--chip); transition: background .2s; }
.launch:hover .launch__go { background: var(--ink); color: var(--card); }
.hero__note { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--muted); }
.hero__lead { max-width: 560px; margin-top: 40px; font-size: 18px; line-height: 28px; color: var(--muted); }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 760px) {
  .flow { display: none; }
  .hero__in { padding-top: 64px; padding-bottom: 72px; }
  h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
  h1 br, .final h2 br { display: none; }
  .hero__lead { margin-top: 32px; font-size: 17px; line-height: 26px; }
}

/* разделы */
.section { padding: 64px 0 96px; }
.section__title { font-size: 36px; line-height: 40px; text-align: center; margin-bottom: 16px; }
.section__sub { max-width: 640px; margin: 0 auto 48px; text-align: center; font-size: 18px; line-height: 28px; color: var(--muted); }
@media (max-width: 760px) {
  .section { padding: 48px 0 64px; }
  .section__title { font-size: 30px; line-height: 36px; }
}

/* как работает: карточки встают стопкой */
.steps { display: grid; gap: 32px; }
.step { --i: 0; position: sticky; top: calc(104px + var(--i) * 16px); display: grid; grid-template-columns: 520px 1fr; height: 300px; overflow: hidden;
        background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.step__text { padding: 32px; }
.step h3 { font-size: 36px; line-height: 45px; margin-bottom: 12px; }
.step__text p { color: var(--muted); max-width: 400px; }
.step__ui { padding: 32px 32px 0 0; min-width: 0; }
.steps__note { margin-top: 24px; text-align: center; font-size: 14px; line-height: 20px; color: var(--muted); }
@media (max-width: 960px) {
  .step { position: static; grid-template-columns: 1fr; height: auto; }
  .step__text { padding: 24px 24px 20px; }
  .step h3 { font-size: 28px; line-height: 34px; margin-bottom: 8px; }
  .step__ui { padding: 0 24px; max-height: 260px; overflow: hidden; }
  .steps { gap: 20px; }
}

/* куски интерфейса бота в карточках */
.ui { border-radius: 10px; background: var(--chip); padding: 0 16px; }
.ui__row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ui__row:last-child { border-bottom: 0; }
.ui__label { display: block; margin-bottom: 4px; font-size: 12px; line-height: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ui__muted { color: var(--muted); font-size: 14px; line-height: 20px; white-space: nowrap; }
.nw { white-space: nowrap; }
.ui__voice { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--card); font-size: 14px; line-height: 20px; }
.ui__voice i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); }
.ui__voice i::before { content: ""; border-left: 8px solid var(--card); border-top: 5px solid transparent; border-bottom: 5px solid transparent; margin-left: 2px; }
.ui__wave { display: inline-flex; align-items: center; gap: 2px; height: 20px; }
.ui__wave span { width: 2px; border-radius: 1px; background: var(--ink); opacity: .55; }
.ui__status { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); flex: none; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.ui__table { border-collapse: collapse; margin: 0 -16px; width: calc(100% + 32px); }
.ui__table th { text-align: left; padding: 10px 16px; font-size: 12px; line-height: 17px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ui__table td { padding: 9px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.ui__table td:first-child { font-weight: 500; white-space: nowrap; }
.ui__table td:last-child { color: var(--muted); }
.ui__table .is-dim td { opacity: .45; }
@media (max-width: 960px) {
  .ui__table thead { display: none; }
  .ui__table tr { display: block; padding: 10px 16px; border-top: 1px solid var(--line); }
  .ui__table tr:first-child { border-top: 0; }
  .ui__table td, .ui__table td:first-child { display: block; padding: 0; border: 0; white-space: normal; }
}

.ui__count { display: flex; align-items: baseline; gap: 10px; }
.ui__count b { font-size: 36px; line-height: 40px; font-weight: 400; letter-spacing: -.02em; }
.ask { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ask:last-child { border-bottom: 0; }
.ask p { margin-bottom: 4px; }
.ask span { font-size: 14px; line-height: 20px; color: var(--muted); }

.ui--pad { padding: 16px; }
.lead__msg, .lead__btns { max-width: 440px; }
.lead__msg { padding: 14px 16px; border-radius: 12px 12px 4px 12px; background: var(--card); box-shadow: var(--shadow); }
.lead__head { font-size: 14px; line-height: 20px; font-weight: 500; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.lead__head i { width: 8px; height: 8px; border-radius: 50%; background: var(--ochre); }
.lead__quote { margin: 0 0 8px; padding-left: 12px; border-left: 2px solid var(--ochre); }
.lead__where { font-size: 14px; line-height: 20px; color: var(--muted); }
.lead__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.lead__btns span { padding: 9px 12px; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); text-align: center; font-size: 14px; line-height: 20px; font-weight: 500; }
.lead__btns .is-main { background: var(--ink); color: var(--card); box-shadow: none; }

.taken__who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.taken__who u { text-decoration-color: var(--line); text-underline-offset: 3px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.taken__draft { padding: 12px 14px; margin-top: 2px; border-radius: 10px; background: var(--card); }

/* цена */
.price { max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 32px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 12px; }
.tier { padding: 20px 24px; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier b { display: block; font-size: 48px; line-height: 52px; font-weight: 400; letter-spacing: -.03em; margin-bottom: 6px; }
.tier span { color: var(--muted); font-size: 14px; line-height: 20px; }
.price__rows { margin: 8px 0 28px; }
.price__row { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price__row svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.price__row p span { color: var(--muted); }
.packs { display: inline-flex; gap: 6px; margin: 0 4px; }
.packs i { font-style: normal; padding: 0 10px; border-radius: 999px; background: var(--chip); font-weight: 500; }
@media (max-width: 760px) {
  .price { padding: 20px; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .tier { display: flex; align-items: baseline; gap: 16px; padding: 14px 18px; }
  .tier b { font-size: 36px; line-height: 40px; margin: 0; min-width: 64px; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 12px 32px; border-radius: 10px;
       background: var(--ink); color: var(--card); font-weight: 500; text-decoration: none; transition: background .2s; }
.btn:hover { background: #2c3a5c; }
.center { text-align: center; }

/* вопросы: открытые, без раскрытия по клику (правило вкуса 8) */
.faq { max-width: 720px; margin: 0 auto; }
.qa { padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa h3 { font-size: 16px; line-height: 24px; font-weight: 500; margin-bottom: 6px; }
.qa p { color: var(--muted); }

/* последний экран */
.final { position: relative; overflow: hidden; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 96px 16px 128px; }
.final h2 { font-size: 48px; line-height: 52px; letter-spacing: -1.2px; max-width: 760px; margin-bottom: 32px; }
@media (max-width: 760px) {
  .final__in { padding: 56px 16px 80px; }
  .final h2 { font-size: 32px; line-height: 38px; letter-spacing: -.8px; }
}

/* подвал */
.foot { border-top: 1px solid var(--line); color: var(--muted); }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 16px; }
.foot__brand p { max-width: 320px; margin-top: 12px; }
.foot .brand { color: var(--ink); }
.foot h4 { margin: 0 0 12px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.foot nav a { display: block; padding: 4px 0; text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot__legal { padding: 20px 16px 32px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; }
@media (max-width: 760px) {
  .foot__in { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 40px 16px; }
  .foot__brand { grid-column: 1 / -1; }
}

/* документы */
.legal { max-width: 752px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: 48px; line-height: 52px; letter-spacing: -1.2px; margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 32px; }
.legal h2 { font-size: 24px; line-height: 32px; font-weight: 500; letter-spacing: -.01em; margin: 40px 0 12px; }
.legal p, .legal li { line-height: 26px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .summary { padding: 20px 24px; margin-bottom: 8px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); }
.legal .summary p { margin: 0; }
@media (max-width: 760px) {
  .legal { padding-top: 40px; }
  .legal h1 { font-size: 36px; line-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}
