/* Freelance Search Bot — landing */
:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --text: #1a1d26;
  --muted: #4a5063;
  --accent: #229ed9;
  --accent-dark: #1b7fb0;
  --border: #e2e6ef;
  --shadow: 0 12px 40px rgba(26, 29, 38, 0.08);
  --radius: 14px;
  --font: "Onest", system-ui, sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --header-h: 56px;
  --sticky-bottom: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-card: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.25s ease, background 0.25s ease;
  --shadow-card: 0 2px 14px rgba(26, 29, 38, 0.06);
  --shadow-card-hover: 0 18px 44px rgba(26, 29, 38, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 767px) {
  body.has-mobile-cta {
    padding-bottom: calc(var(--sticky-bottom) + env(safe-area-inset-bottom));
  }

  /* Typography improvements for mobile readability */
  body {
    font-size: 16px; /* Prevent iOS zoom */
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
  }

  p, li {
    max-width: 100%; /* Utilize full width on small screens */
    word-wrap: break-word;
  }

  .section-title {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }

  .section-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:root {
  --prose-max-ch: 70ch;
}

.wrap {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  min-height: var(--header-h);
  padding-block: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  padding: 0.2rem 0.35rem 0.2rem 0.2rem;
  margin: -0.2rem -0.35rem -0.2rem -0.2rem;
  transition: background 0.25s ease, color 0.2s ease, transform 0.3s var(--ease-out);
}

.brand:hover {
  background: rgba(34, 158, 217, 0.08);
  color: var(--accent-dark);
}

.brand:hover .brand-mark {
  box-shadow: 0 0 0 1px rgba(34, 158, 217, 0.35), 0 6px 18px rgba(34, 158, 217, 0.2);
  transform: scale(1.04);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e8f8ef;
  box-shadow: 0 0 0 1px rgba(26, 29, 38, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
  line-height: 1.2;
}

.brand-title {
  font-size: 0.98rem;
  font-weight: 700;
}

.brand-bot {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.brand:hover .brand-bot {
  color: var(--accent);
}

@media (min-width: 400px) {
  .brand-bot {
    font-size: 0.74rem;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 880px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.4rem 0.65rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.25s ease, transform 0.25s var(--ease-out);
}

.nav-desktop a:hover {
  color: var(--accent-dark);
  background: rgba(34, 158, 217, 0.1);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.25rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.98) translateY(0);
}

.btn-tg {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34, 158, 217, 0.35);
}

.btn-tg:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 28px rgba(34, 158, 217, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: rgba(34, 158, 217, 0.06);
  box-shadow: 0 6px 20px rgba(26, 29, 38, 0.06);
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.hero {
  padding: 1.75rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(34, 158, 217, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
  }
}

.hero-grid > div:last-child {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.hero-tg-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 1.95rem);
  line-height: 1.18;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.hero-copy .hero-lead {
  margin-bottom: 0.65rem;
}

.hero-copy .hero-lead:last-of-type {
  margin-bottom: 1.1rem;
}

.hero-lead {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 1.1rem;
  max-width: var(--prose-max-ch);
  line-height: 1.55;
}

.hero-kicker {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 0.65rem;
  max-width: var(--prose-max-ch);
  line-height: 1.45;
}

.hero-kicker strong {
  color: var(--text);
  font-weight: 600;
}

.hero-micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
  max-width: var(--prose-max-ch);
  line-height: 1.45;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Telegram-style device mock (hero) */
.tg-device {
  position: relative;
  width: 318px;
  min-width: 318px;
  max-width: 318px;
  margin-inline: 0;
  box-sizing: border-box;
  filter: drop-shadow(0 16px 36px rgba(26, 29, 38, 0.16));
}

.tg-bezel {
  width: 100%;
  box-sizing: border-box;
  border-radius: 32px;
  padding: 9px;
  background: linear-gradient(145deg, #3d424d 0%, #1e2128 42%, #0f1115 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

.tg-screen {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  /* Выше экран — больше текста заказа без скролла */
  height: clamp(488px, 62vh, 598px);
  min-height: clamp(488px, 62vh, 598px);
  max-height: clamp(488px, 62vh, 598px);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

@media (min-width: 900px) {
  .tg-screen {
    height: clamp(508px, 58vh, 628px);
    min-height: clamp(508px, 58vh, 628px);
    max-height: clamp(508px, 58vh, 628px);
  }
}

.tg-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #000;
  background: #fff;
}

.tg-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tg-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
  opacity: 0.88;
}

.tg-signal i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: #000;
}

.tg-signal i:nth-child(1) {
  height: 4px;
}

.tg-signal i:nth-child(2) {
  height: 7px;
}

.tg-signal i:nth-child(3) {
  height: 10px;
}

.tg-battery {
  width: 24px;
  height: 11px;
  border: 1.5px solid #000;
  border-radius: 3px;
  position: relative;
  opacity: 0.85;
}

.tg-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 5px;
  background: #000;
  border-radius: 0 1px 1px 0;
}

.tg-battery::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 65%;
  height: 5px;
  background: #34c759;
  border-radius: 1px;
}

.tg-dynamic-island {
  width: 96px;
  height: 24px;
  margin: -2px auto 4px;
  background: #000;
  border-radius: 16px;
}

.tg-topbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 8px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  flex-shrink: 0;
}

.tg-topbar-back {
  font-size: 28px;
  font-weight: 300;
  color: #3390ec;
  line-height: 1;
  width: 28px;
  text-align: center;
}

.tg-topbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

.tg-topbar-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.tg-topbar-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.tg-topbar-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-topbar-sub {
  font-size: 12px;
  color: #8e8e93;
  line-height: 1.2;
}

/* Chat area — без вертикальной прокрутки; блоки прижаты снизу, лишнее обрезается сверху */
.tg-chat {
  flex: 1;
  min-height: 0;
  background-color: #9cb89c;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(0, 0, 0, 0.06) 0%, transparent 38%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tg-chat-inner {
  flex: 1;
  min-height: 0;
  padding: 6px 7px 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  gap: 7px;
  overflow: hidden;
}

.tg-msg-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  max-width: none;
  align-self: flex-start;
  flex-shrink: 0;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.tg-msg-block--previous {
  z-index: 2;
  pointer-events: none;
  will-change: transform, margin-bottom;
  filter: saturate(0.82) brightness(0.93);
}

/* Ниже предыдущего в стеке: новый заказ выезжает снизу и не «лежит» поверх старого */
.tg-msg-block--current {
  z-index: 1;
}

.tg-bubble {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
  color: #000;
  padding: 5px 8px 17px 8px;
  border-radius: 14px 14px 14px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes tgNewPulse {
  0% {
    box-shadow:
      0 0 0 2px rgba(51, 144, 236, 0.55),
      0 4px 22px rgba(51, 144, 236, 0.32);
    background-color: #f3f9ff;
  }
  100% {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }
}

.tg-bubble--newpulse {
  animation: tgNewPulse 1s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  .tg-bubble--newpulse {
    animation: none;
  }
}

/* Текст карточки заказа — структура как в HTML-сообщении бота (parse_mode HTML) */
.tg-message-text {
  font-size: 13px;
  line-height: 1.375;
  color: #000;
  letter-spacing: -0.2px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tg-message-text b {
  font-weight: 600;
}

.tg-message-text a {
  color: #168acd;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.tg-msg-time {
  position: absolute;
  right: 7px;
  bottom: 3px;
  font-size: 10px;
  line-height: 1;
  color: #a8a8ad;
  font-style: normal;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

/* Inline keyboard — стили Bot API: primary / default / danger (как у get_job_keyboard), ширина = пузырь */
.tg-inline-keyboard {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tg-kb-row {
  display: flex;
  gap: 3px;
}

.tg-kb-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 28px;
  padding: 3px 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.14;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  margin: 0;
  transition:
    transform 0.1s ease,
    filter 0.1s ease,
    opacity 0.1s ease;
  box-sizing: border-box;
}

.tg-kb-btn--primary {
  color: #fff;
  background: #3390ec;
  border: none;
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.13);
}

.tg-kb-btn--primary:hover {
  filter: brightness(1.04);
}

.tg-kb-btn--primary:active {
  transform: scale(0.98);
  filter: brightness(0.96);
}

.tg-kb-btn--default {
  color: #000;
  background: #fff;
  border: 0.5px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.06);
}

.tg-kb-btn--default:hover {
  background: #f7f7f8;
}

.tg-kb-btn--default:active {
  transform: scale(0.98);
}

.tg-kb-btn--danger {
  color: #e64b40;
  background: #fff;
  border: 0.5px solid rgba(230, 75, 64, 0.35);
  box-shadow: 0 0.5px 1.5px rgba(0, 0, 0, 0.06);
}

.tg-kb-btn--danger:hover {
  background: #fff5f4;
}

.tg-kb-btn--danger:active {
  transform: scale(0.98);
}

/* Фейковая reply-клавиатура Telegram (как в боте: главное меню / настройки) */
.tg-reply-kbd {
  flex-shrink: 0;
  padding: 4px 4px 5px;
  background: #d1d7db;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tg-reply-row {
  display: flex;
  gap: 3px;
}

.tg-reply-row--search {
  flex-wrap: nowrap;
}

.tg-reply-row--search .tg-reply-btn {
  flex: 1 1 100%;
  min-width: 0;
  min-height: 34px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  flex-direction: row;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-reply-row--menu {
  flex-wrap: nowrap;
}

.tg-reply-row--menu .tg-reply-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 34px;
  padding: 5px 3px;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.18;
  flex-direction: row;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tg-reply-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 30px;
  padding: 4px 5px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.12;
  text-align: center;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 7px;
  box-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  user-select: none;
}

.tg-reply-btn:active {
  transform: scale(0.98);
}

.tg-reply-btn:not(.tg-reply-btn--search-on):not(.tg-reply-btn--search-off):active {
  background: #f0f0f0;
}

.tg-reply-btn--search-on {
  color: #fff;
  background: linear-gradient(180deg, #36d06a 0%, #28b351 100%);
  box-shadow:
    0 0.5px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tg-reply-btn--search-on:active {
  background: linear-gradient(180deg, #2fc55f 0%, #24a347 100%);
}

.tg-reply-btn--search-off {
  color: #fff;
  background: linear-gradient(180deg, #ff5a52 0%, #e53935 100%);
  box-shadow:
    0 0.5px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.tg-reply-btn--search-off:active {
  background: linear-gradient(180deg, #f24941 0%, #d32f2f 100%);
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-surface {
  background: var(--surface);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  width: fit-content;
  max-width: 100%;
  transition: color 0.25s ease, transform 0.3s var(--ease-out);
}

.section-title:hover {
  color: var(--accent-dark);
  transform: translateX(3px);
}

.section-lead {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 100%;
  line-height: 1.55;
}

.section-lead + .section-lead {
  margin-top: -1.35rem;
}

.text-emo {
  margin-right: 0.35em;
}

.seo-guides-intro {
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.seo-guides-intro + .seo-guides-tabs {
  margin-top: 0.25rem;
}

.seo-guides-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}

.seo-guides-tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.seo-guides-tab:hover {
  color: var(--text);
  background: rgba(34, 158, 217, 0.08);
}

.seo-guides-tab.is-active {
  color: var(--accent-dark);
  background: rgba(34, 158, 217, 0.14);
  border-color: rgba(34, 158, 217, 0.35);
}

.seo-guides-panels {
  margin: 0;
}

.seo-guide-panel .seo-guide {
  margin: 0;
}

.seo-guide-panel .section-title--guide {
  margin-bottom: 0.45rem;
}

.seo-guide-panel .seo-guide p {
  margin-bottom: 0.6rem;
}

.seo-guide-panel .seo-guide h3 {
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.seo-guide {
  margin: 0;
}

.seo-guide p {
  color: var(--text);
  margin: 0 0 1rem;
  max-width: var(--prose-max-ch);
  line-height: 1.55;
}

.seo-guide p:last-child {
  margin-bottom: 0;
}

.seo-guide h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
  font-weight: 600;
  color: var(--text);
}

.section-title--guide {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  margin: 0 0 0.65rem;
  max-width: min(100%, 52ch);
  line-height: 1.3;
}

.seo-guide-sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.25rem 0;
}

.how-cta-wrap {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

/* Cards grid */
.cards-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 158, 217, 0.45);
  box-shadow: var(--shadow-card-hover);
}

.section-surface .card {
  background: var(--bg);
}

.section-surface .card:hover {
  background: #fff;
}

/* Секция «Кому подойдёт»: цветные карточки и фоновые эмодзи */
.cards-3--audiences {
  gap: 1.15rem;
}

.card--audience {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.card-audience__deco {
  position: absolute;
  right: 0.5rem;
  bottom: 0.85rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
  font-size: clamp(3.25rem, 9vw, 5rem);
  line-height: 1;
  user-select: none;
  /* поднимаем относительно нижнего края: у глифа много пустого места под базовой линией */
  transform: translateY(-0.12em);
}

.card--audience h3,
.card--audience p {
  position: relative;
  z-index: 1;
}

.card--audience h3 {
  color: var(--audience-heading, var(--text));
}

.card--audience p + p {
  margin-top: 0.75rem;
}

.section-surface .card.card--audience-agency {
  --audience-heading: #3a2870;
  background: linear-gradient(150deg, #f2e9ff 0%, #e8f1ff 55%, #fffeff 100%);
  border-color: rgba(107, 76, 206, 0.32);
  box-shadow: 0 4px 22px rgba(107, 76, 206, 0.1);
}

.section-surface .card.card--audience-agency:hover {
  background: linear-gradient(150deg, #ebe0fc 0%, #dfeaff 55%, #fff 100%);
  border-color: rgba(107, 76, 206, 0.48);
  box-shadow: 0 22px 50px rgba(107, 76, 206, 0.16);
}

.section-surface .card.card--audience-pro {
  --audience-heading: #0a5a75;
  background: linear-gradient(150deg, #e3f5fc 0%, #dff6f0 52%, #fdffff 100%);
  border-color: rgba(20, 140, 186, 0.38);
  box-shadow: 0 4px 22px rgba(20, 140, 186, 0.1);
}

.section-surface .card.card--audience-pro:hover {
  background: linear-gradient(150deg, #d6f0fa 0%, #d7f5ea 52%, #fff 100%);
  border-color: rgba(20, 140, 186, 0.52);
  box-shadow: 0 22px 50px rgba(20, 140, 186, 0.14);
}

.section-surface .card.card--audience-student {
  --audience-heading: #7a3d22;
  background: linear-gradient(150deg, #fff5e8 0%, #ffece6 50%, #fffffe 100%);
  border-color: rgba(208, 106, 56, 0.34);
  box-shadow: 0 4px 22px rgba(208, 106, 56, 0.09);
}

.section-surface .card.card--audience-student:hover {
  background: linear-gradient(150deg, #ffedd8 0%, #ffe2dc 52%, #fff 100%);
  border-color: rgba(208, 106, 56, 0.48);
  box-shadow: 0 22px 50px rgba(208, 106, 56, 0.13);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Problem / solution */
.ps-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ps-grid--pains {
  gap: 1.15rem;
}

.ps-item.ps-item--pain {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: block;
  padding: 1.2rem 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.ps-item.ps-item--pain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.ps-item__deco {
  position: absolute;
  right: 0.5rem;
  bottom: 0.85rem;
  pointer-events: none;
  z-index: 0;
  opacity: 0.36;
  font-size: clamp(2.6rem, 7.5vw, 4.1rem);
  line-height: 1;
  user-select: none;
  transform: translateY(-0.12em);
}

.ps-item__body {
  position: relative;
  z-index: 1;
}

.ps-item--pain h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--pain-heading, var(--text));
}

.ps-item--pain p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.ps-item.ps-item--pain-docs {
  --pain-heading: #2d3a4d;
  background: linear-gradient(150deg, #eef2f8 0%, #e6edf7 52%, #fefeff 100%);
  border-color: rgba(72, 98, 132, 0.3);
  box-shadow: 0 4px 20px rgba(72, 98, 132, 0.09);
}

.ps-item.ps-item--pain-docs:hover {
  background: linear-gradient(150deg, #e5eaf3 0%, #dde6f4 52%, #fff 100%);
  border-color: rgba(72, 98, 132, 0.45);
  box-shadow: 0 20px 48px rgba(72, 98, 132, 0.13);
}

.ps-item.ps-item--pain-speed {
  --pain-heading: #7a4014;
  background: linear-gradient(150deg, #fff4e8 0%, #ffe8dc 50%, #fffefd 100%);
  border-color: rgba(212, 132, 62, 0.34);
  box-shadow: 0 4px 20px rgba(212, 132, 62, 0.09);
}

.ps-item.ps-item--pain-speed:hover {
  background: linear-gradient(150deg, #ffecd9 0%, #ffe0d0 52%, #fff 100%);
  border-color: rgba(212, 132, 62, 0.48);
  box-shadow: 0 20px 48px rgba(212, 132, 62, 0.12);
}

.ps-item.ps-item--pain-noise {
  --pain-heading: #4a2d6e;
  background: linear-gradient(150deg, #f4ecff 0%, #eee6fc 50%, #fffeff 100%);
  border-color: rgba(120, 80, 180, 0.3);
  box-shadow: 0 4px 20px rgba(120, 80, 180, 0.08);
}

.ps-item.ps-item--pain-noise:hover {
  background: linear-gradient(150deg, #ebe0fc 0%, #e4daf8 52%, #fff 100%);
  border-color: rgba(120, 80, 180, 0.44);
  box-shadow: 0 20px 48px rgba(120, 80, 180, 0.12);
}

.ps-item.ps-item--pain-risk {
  --pain-heading: #123d52;
  background: linear-gradient(150deg, #e8f4fa 0%, #e2f0f8 50%, #fdffff 100%);
  border-color: rgba(30, 110, 150, 0.32);
  box-shadow: 0 4px 20px rgba(30, 110, 150, 0.09);
}

.ps-item.ps-item--pain-risk:hover {
  background: linear-gradient(150deg, #dceef7 0%, #d4e9f5 52%, #fff 100%);
  border-color: rgba(30, 110, 150, 0.46);
  box-shadow: 0 20px 48px rgba(30, 110, 150, 0.13);
}

.ps-item.ps-item--pain-global {
  --pain-heading: #145c4a;
  background: linear-gradient(150deg, #e8f7f2 0%, #dff5ee 50%, #fefffe 100%);
  border-color: rgba(40, 140, 115, 0.32);
  box-shadow: 0 4px 20px rgba(40, 140, 115, 0.08);
}

.ps-item.ps-item--pain-global:hover {
  background: linear-gradient(150deg, #daf3eb 0%, #d0efe5 52%, #fff 100%);
  border-color: rgba(40, 140, 115, 0.46);
  box-shadow: 0 20px 48px rgba(40, 140, 115, 0.12);
}

.ps-item.ps-item--pain-skills {
  --pain-heading: #4a2c7a;
  background: linear-gradient(150deg, #f3e8ff 0%, #ede4fc 50%, #fffeff 100%);
  border-color: rgba(124, 77, 186, 0.34);
  box-shadow: 0 4px 20px rgba(124, 77, 186, 0.08);
}

.ps-item.ps-item--pain-skills:hover {
  background: linear-gradient(150deg, #eadcf8 0%, #e2d2f5 52%, #fff 100%);
  border-color: rgba(124, 77, 186, 0.46);
  box-shadow: 0 20px 48px rgba(124, 77, 186, 0.12);
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps--how {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .steps--how {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 158, 217, 0.45);
  box-shadow: var(--shadow-card-hover);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -10px;
  left: 1rem;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  display: grid;
  place-items: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.35);
}

.step:hover::before {
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(34, 158, 217, 0.45);
}

.step h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.95rem;
}

.step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Шаги «Как настроить поток заказов» */
.steps--how {
  gap: 1.15rem;
}

.steps--how .step--how {
  overflow: hidden;
  isolation: isolate;
  padding: 1.3rem 1.1rem 1.35rem;
}

.steps--how .step--how::before {
  display: none;
  content: none;
  counter-increment: none;
  box-shadow: none;
}

.steps--how .step--how:hover::before {
  transform: none;
  box-shadow: none;
}

.step__deco {
  position: absolute;
  right: 0.45rem;
  bottom: 0.7rem;
  z-index: 0;
  opacity: 0.34;
  font-size: clamp(2.45rem, 6.5vw, 3.65rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transform: translateY(-0.1em);
}

.step__body {
  position: relative;
  z-index: 1;
}

.step__head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.step__badge {
  flex-shrink: 0;
  min-width: 1.85rem;
  height: 1.85rem;
  padding: 0 0.35rem;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  border-radius: 9px;
  box-shadow: 0 3px 12px rgba(34, 158, 217, 0.32);
  margin-top: 0.12rem;
}

.steps--how .step--how h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--step-heading, var(--text));
  display: block;
}

.step__title-emo {
  font-size: 1.12em;
  line-height: 1;
  margin-right: 0.35em;
  vertical-align: -0.08em;
}

.steps--how .step--how p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.58;
  color: var(--muted);
}

.section-surface .step.step--how-start {
  --step-heading: #0d4a66;
  background: linear-gradient(155deg, #e3f4fc 0%, #d9f0fa 50%, #feffff 100%);
  border-color: rgba(34, 158, 217, 0.34);
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.09);
}

.section-surface .step.step--how-start:hover {
  background: linear-gradient(155deg, #d7eef9 0%, #cceaf7 52%, #fff 100%);
  border-color: rgba(34, 158, 217, 0.48);
  box-shadow: 0 20px 48px rgba(34, 158, 217, 0.14);
}

.section-surface .step.step--how-start .step__badge {
  background: linear-gradient(145deg, #229ed9, #1570a0);
}

.section-surface .step.step--how-filters {
  --step-heading: #4a2d72;
  background: linear-gradient(155deg, #f2ebff 0%, #ebe3fc 50%, #fffeff 100%);
  border-color: rgba(110, 80, 170, 0.3);
  box-shadow: 0 4px 20px rgba(110, 80, 170, 0.08);
}

.section-surface .step.step--how-filters:hover {
  background: linear-gradient(155deg, #e9e0fc 0%, #e2d8f9 52%, #fff 100%);
  border-color: rgba(110, 80, 170, 0.44);
  box-shadow: 0 20px 48px rgba(110, 80, 170, 0.12);
}

.section-surface .step.step--how-filters .step__badge {
  background: linear-gradient(145deg, #7b5cbf, #543894);
  box-shadow: 0 3px 12px rgba(91, 60, 160, 0.35);
}

.section-surface .step.step--how-run {
  --step-heading: #1d6b45;
  background: linear-gradient(155deg, #e8f8ef 0%, #dff5e8 50%, #fefffe 100%);
  border-color: rgba(45, 150, 100, 0.32);
  box-shadow: 0 4px 20px rgba(45, 150, 100, 0.08);
}

.section-surface .step.step--how-run:hover {
  background: linear-gradient(155deg, #daf3e5 0%, #d2f0e0 52%, #fff 100%);
  border-color: rgba(45, 150, 100, 0.45);
  box-shadow: 0 20px 48px rgba(45, 150, 100, 0.12);
}

.section-surface .step.step--how-run .step__badge {
  background: linear-gradient(145deg, #2fb575, #228f5a);
  box-shadow: 0 3px 12px rgba(47, 181, 117, 0.35);
}

.section-surface .step.step--how-archive {
  --step-heading: #8a4a14;
  background: linear-gradient(155deg, #fff6e8 0%, #ffeedd 50%, #fffffe 100%);
  border-color: rgba(210, 130, 60, 0.32);
  box-shadow: 0 4px 20px rgba(210, 130, 60, 0.08);
}

.section-surface .step.step--how-archive:hover {
  background: linear-gradient(155deg, #ffefd9 0%, #ffe6cf 52%, #fff 100%);
  border-color: rgba(210, 130, 60, 0.45);
  box-shadow: 0 20px 48px rgba(210, 130, 60, 0.11);
}

.section-surface .step.step--how-archive .step__badge {
  background: linear-gradient(145deg, #e8954a, #c56f24);
  box-shadow: 0 3px 12px rgba(232, 149, 74, 0.35);
}

/* Platforms */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.platform-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: default;
  transition: var(--transition-card);
}

.platform-tile:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(34, 158, 217, 0.4);
  box-shadow: 0 12px 32px rgba(26, 29, 38, 0.1);
}

.section-surface .platform-tile {
  background: var(--bg);
}

.section-surface .platform-tile:hover {
  background: #fff;
}

.platform-tile .badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: rgba(34, 158, 217, 0.15);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.platforms-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Блок бирж: «инфопанель», без пастельных градиентов как у шагов */
.platforms-showcase {
  position: relative;
  margin-top: 0.25rem;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #c5cdd9;
  background: linear-gradient(165deg, #f1f4f8 0%, #fff 42%, #fff 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 36px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.platforms-showcase__mark {
  position: absolute;
  right: 0.35rem;
  bottom: 0.55rem;
  font-size: clamp(3.2rem, 10vw, 5.5rem);
  line-height: 1;
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
  transform: translateY(0.06em);
}

.platforms-grid--showcase {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
}

.platform-tile.platform-tile--showcase.platform-tile--brand {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  min-height: 5.4rem;
  padding: 0.72rem 0.88rem 0.78rem;
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  border-radius: 12px;
  border-width: 1px;
  border-style: solid;
  cursor: default;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 26px rgba(15, 23, 42, 0.14);
}

.platform-tile.platform-tile--showcase.platform-tile--brand:hover {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 16px 36px rgba(15, 23, 42, 0.18);
  filter: brightness(1.05);
}

.platform-tile--showcase.platform-tile--brand.platform-tile--showcase-premium {
  padding-top: 1.95rem;
}

.platform-tile__premium {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 0.3rem 0.5rem;
  text-align: center;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.platform-tile__watermark {
  position: absolute;
  inset: auto 0.45rem 0.45rem auto;
  z-index: 0;
  box-sizing: border-box;
  width: min(2.85rem, calc(100% - 0.9rem));
  height: min(2.85rem, calc(100% - 1rem));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.platform-tile__watermark img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  opacity: 0.45;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.platform-tile__label {
  position: relative;
  z-index: 2;
  display: block;
  align-self: flex-start;
  max-width: 82%;
}

/*
 * Фоны плиток — опора на публичные палитры брендов (BrandColorCode, BrandPalettes и т.п.)
 * и узнаваемые цвета сайтов там, где отдельного брендбука в выдаче нет.
 */
.platform-tile--kwork.platform-tile--brand {
  border-color: rgba(122, 168, 35, 0.55);
  /* Kwork: характерный «лайм» маркетплейса */
  background: linear-gradient(145deg, #c4e050 0%, #9fd82e 35%, #6fb319 72%, #4a8a0f 100%);
}

.platform-tile--fl.platform-tile--brand {
  border-color: rgba(13, 128, 66, 0.55);
  /* FL.ru: #0d8042 */
  background: linear-gradient(145deg, #159a52 0%, #0d8042 45%, #085c30 100%);
}

.platform-tile--freelanceru.platform-tile--brand {
  border-color: rgba(46, 125, 50, 0.55);
  /* Freelance.ru: обычный зелёный (по запросу) */
  background: linear-gradient(145deg, #66bb6a 0%, #43a047 45%, #2e7d32 100%);
}

.platform-tile--weblancer.platform-tile--brand {
  border-color: rgba(30, 90, 168, 0.55);
  /* Weblancer: насыщенный синий логотипа */
  background: linear-gradient(145deg, #3d7dd6 0%, #1e5aa8 48%, #124080 100%);
}

.platform-tile--freelancehunt.platform-tile--brand {
  border-color: rgba(245, 180, 0, 0.55);
  /* Freelancehunt: жёлтый (по запросу) */
  color: #3e2723;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  background: linear-gradient(145deg, #fff176 0%, #ffeb3b 38%, #fdd835 72%, #f9a825 100%);
}

.platform-tile--workspace.platform-tile--brand {
  border-color: rgba(43, 174, 242, 0.5);
  /* Workspace: #2baef2 */
  background: linear-gradient(145deg, #5fc4f8 0%, #2baef2 42%, #1a8fd4 78%, #1576b8 100%);
}

.platform-tile--profi.platform-tile--brand {
  border-color: rgba(183, 28, 28, 0.5);
  /* Profi.ru: красный (по запросу) */
  background: linear-gradient(145deg, #ef5350 0%, #d32f2f 42%, #b71c1c 100%);
}

.platform-tile--yandex.platform-tile--brand {
  border-color: rgba(252, 63, 29, 0.45);
  /* Яндекс: #FC3F1D + акцент #FFCC00 (brandpalettes.com / ph4.ru) */
  background: linear-gradient(to bottom right, #fc3f1d 0%, #e83618 42%, #f4511e 68%, #ffcc00 100%);
}

.platform-tile--youdo.platform-tile--brand {
  border-color: rgba(239, 154, 154, 0.65);
  /* YouDo: светло-красный */
  color: #6d1f1f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background: linear-gradient(145deg, #ffebee 0%, #ffcdd2 38%, #ef9a9a 100%);
}

.platform-tile--freelancer.platform-tile--brand {
  border-color: rgba(0, 160, 227, 0.55);
  /* Freelancer.com: #00B7FC (+ тёмный #404145) — brandcolorcode.com */
  background: linear-gradient(145deg, #33c7fd 0%, #00b7fc 40%, #0090c9 78%, #404145 100%);
}

.platform-tile--guru.platform-tile--brand {
  border-color: rgba(39, 119, 198, 0.55);
  /* Guru.com: #2777C6 (+ чёрный) — brandcolorcode.com */
  background: linear-gradient(145deg, #4e9adb 0%, #2777c6 45%, #1a5490 88%, #0d2130 100%);
}

.platform-tile--jobbers.platform-tile--brand {
  border-color: rgba(16, 185, 129, 0.55);
  /* Jobbers.io: #10b981 */
  background: linear-gradient(145deg, #34d399 0%, #10b981 45%, #059669 100%);
}

.platforms-note--showcase {
  width: 100%;
  max-width: none;
  margin-top: 1.15rem;
  margin-bottom: 0;
  margin-inline: 0;
  padding: 0;
  line-height: 1.55;
  box-sizing: border-box;
}

/* Features */
.features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 158, 217, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.section-surface .feature {
  background: var(--bg);
}

.section-surface .feature:hover {
  background: #fff;
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: transform 0.35s var(--ease-out);
}

.feature:hover .feature-icon {
  transform: scale(1.12);
}

.feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.feature ul.feature-list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.feature ul.feature-list li {
  margin-bottom: 0.35rem;
}

/* Фичи: белые карточки + акцентная полоса (не как цветные шаги) */
.feature.feature--smart {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 1.2rem 1.1rem 1.2rem 1.15rem;
  border-left: 4px solid #475569;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}

.feature.feature--smart:nth-child(6n + 2) {
  border-left-color: #9d174d;
}

.feature.feature--smart:nth-child(6n + 3) {
  border-left-color: #b45309;
}

.feature.feature--smart:nth-child(6n + 4) {
  border-left-color: #166534;
}

.feature.feature--smart:nth-child(6n + 5) {
  border-left-color: #6d28d9;
}

.feature.feature--smart:nth-child(6n + 6) {
  border-left-color: #0f766e;
}

.section-surface .feature.feature--smart {
  background: #fff;
}

.section-surface .feature.feature--smart:hover {
  background: #f8fafc;
}

.feature.feature--smart:hover {
  border-top-color: #cbd5e1;
  border-right-color: #cbd5e1;
  border-bottom-color: #cbd5e1;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.feature__deco {
  position: absolute;
  right: 0.4rem;
  bottom: 0.65rem;
  z-index: 0;
  opacity: 0.14;
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transform: translateY(-0.08em);
}

.feature__body {
  position: relative;
  z-index: 1;
}

.feature.feature--smart h3 {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.feature__title-emo {
  font-size: 1.1em;
  margin-right: 0.35em;
  vertical-align: -0.07em;
}

.feature.feature--smart p {
  font-size: 0.93rem;
  line-height: 1.55;
}

.feature.feature--smart .feature-list {
  line-height: 1.5;
}

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: var(--transition-card);
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 158, 217, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.15);
}

.price-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 56px rgba(34, 158, 217, 0.32);
  border-color: var(--accent-dark);
}

.price-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.price-card .price {
  font-family: var(--display);
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.price-card ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.price-card li {
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 1rem;
  background: var(--surface);
  transition: var(--transition-card);
}

.faq-list details:hover {
  border-color: rgba(34, 158, 217, 0.4);
  box-shadow: 0 8px 28px rgba(26, 29, 38, 0.08);
  transform: translateY(-2px);
}

.faq-list details[open] {
  border-color: rgba(34, 158, 217, 0.35);
  box-shadow: 0 10px 32px rgba(34, 158, 217, 0.1);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-a {
  padding: 0.75rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  margin: 0;
  max-width: 100%;
  line-height: 1.55;
}

.faq-list .faq-a + .faq-a {
  border-top: 0;
  padding-top: 0.35rem;
  margin-top: 0;
}

.faq-list details > .faq-a:last-of-type {
  padding-bottom: 1rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a1d26, #2d3240);
  color: #e8eaef;
}

.final-cta h2 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 0.75rem;
}

.final-cta p {
  margin: 0 auto 0.85rem;
  max-width: var(--prose-max-ch);
  color: #a8b0c0;
  font-size: 1rem;
  line-height: 1.55;
}

.final-cta p:last-of-type {
  margin-bottom: 1.5rem;
}

.final-cta-btn {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.final-cta-btn:hover {
  background: #eef6fc;
  color: var(--accent-dark);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.3);
}

.qr-block {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

#qrcode {
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.qr-block:hover #qrcode {
  transform: scale(1.04);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.qr-block span {
  font-size: 0.85rem;
  color: #a8b0c0;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.footer-links a:hover {
  color: var(--accent-dark);
  border-bottom-color: rgba(34, 158, 217, 0.45);
  transform: translateX(2px);
}

.footer-aside {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  text-align: right;
}

@media (max-width: 639px) {
  .footer-aside {
    align-items: flex-start;
    text-align: left;
  }
}

.footer-domain {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.footer-domain a {
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer-domain a:hover {
  border-bottom-color: rgba(34, 158, 217, 0.45);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Mobile sticky CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    display: block;
  }

  body.has-mobile-cta .mobile-cta-bar .btn {
    width: 100%;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

@media (max-width: 767px) {
  body.has-mobile-cta .cookie-banner {
    bottom: var(--sticky-bottom);
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  }
}

.cookie-inner {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (min-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }
}

.cookie-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cookie-banner__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.cookie-banner__text {
  max-width: 62ch;
  line-height: 1.5;
}

.cookie-banner__text code {
  font-size: 0.82em;
  padding: 0.05em 0.25em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
  align-items: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Legal pages (terms, privacy) */
.legal-page {
  background: var(--surface);
}

.legal-page main {
  padding: 2rem 0 3rem;
}

.legal-doc {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text);
}

.legal-doc h1 {
  font-family: var(--display);
  font-size: 1.65rem;
  margin: 0 0 1.5rem;
}

.legal-doc h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand,
  .brand-mark,
  .brand-bot,
  .nav-desktop a,
  .btn,
  .card,
  .ps-item,
  .ps-item__deco,
  .step,
  .step::before,
  .platform-tile,
  .feature,
  .feature-icon,
  .price-card,
  .faq-list details,
  .final-cta-btn,
  #qrcode,
  .footer-links a,
  .section-title {
    transition: none !important;
  }

  .brand:hover,
  .brand:hover .brand-mark,
  .nav-desktop a:hover,
  .btn:hover,
  .btn-tg:hover,
  .btn-ghost:hover,
  .card:hover,
  .ps-item:hover,
  .step:hover,
  .step:hover::before,
  .platform-tile:hover,
  .feature:hover,
  .feature:hover .feature-icon,
  .price-card:hover,
  .price-card.featured:hover,
  .faq-list details:hover,
  .final-cta-btn:hover,
  .qr-block:hover #qrcode,
  .footer-links a:hover,
  .section-title:hover {
    transform: none !important;
  }
}
