/* ============================================
   Odnаlodka — белый уходит в серый, чёрный акцент
   Крупная типографика · минимум декора · чистый контраст
   ============================================ */

:root {
  /* Палитра: белый → серый, чёрный акцент */
  --bg:           #FAFAF8;
  --bg-soft:      #F2F0EC;
  --surface:      #FFFFFF;
  --surface-2:    #E8E5DF;
  --ink:          #0A0A0A;
  --ink-2:        #1F1F1F;
  --ink-3:        #404040;
  --text:         #0A0A0A;
  --text-dim:     #2A2A2A;
  --text-muted:   #4A4A4A;
  --border:       rgba(10, 10, 10, 0.08);
  --border-strong:rgba(10, 10, 10, 0.16);

  /* Тени — сдержанные */
  --shadow:    0 8px 28px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 0 24px rgba(0, 0, 0, 0.10);

  /* Радиусы — побольше, по-лебедевски */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Контейнеры */
  --container: 1200px;
  --container-narrow: 760px;

  /* Типографика */
  --ff-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Сетка/ритм */
  --gap-section: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; padding: 0; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; color: var(--text); }
p { margin: 0; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  transition: transform .15s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  user-select: none;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: #FAFAF8;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 0 48px rgba(0, 0, 0, 0.10); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 32px; font-size: 17px; }
.btn--block { width: 100%; }

/* ===== HEADER ===== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.hdr.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06); }
.hdr__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo__mark svg { display: block; }
.logo__text {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo__text em {
  font-style: normal;
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav__link {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  transition: background-color .15s ease, color .15s ease;
  position: relative;
}
.nav__link:hover { background: var(--ink); color: var(--bg); }
.nav__link::after { content: none; }

.hdr__cta { margin-left: 0; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hdr__mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 18px 24px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.hdr__mobile.is-open { display: flex; }
.hdr__mobile-link {
  font-weight: 500;
  font-size: 17px;
  color: var(--text-dim);
}
.hdr__mobile-cta { margin-top: 8px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 96px;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 500px at 50% -10%, rgba(10, 10, 10, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__bg { display: none; }
.chip,
.chip--1, .chip--2, .chip--3, .chip--4, .chip--5, .chip--6 { display: none; }
@keyframes float { /* no-op */ }

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
}
.hero__eyebrow { display: none; }
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero__title-accent {
  color: var(--ink);
}
.hero__sub {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.hero__chips,
.hero__chip,
.hero__chip-dot { display: none; }

/* ===== SECTION HEAD ===== */
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 760px; }
.section-head__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-head__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-head__sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.55;
}
.section-head--center .section-head__sub { margin-left: auto; margin-right: auto; }

/* ===== SLOTS ===== */
.slots { padding: var(--gap-section) 0; }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.slot-grid--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}
.slot-card--featured {
  padding: 36px;
  border-color: var(--ink);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.slot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.slot-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.slot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.slot-card:hover::before { transform: scaleX(1); }
.slot-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 8px;
}
.slot-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  background: rgba(10, 10, 10, 0.16);
  color: var(--ink);
  border-radius: 6px;
}
.slot-card__format {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.slot-card__title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.slot-card__pay {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.slot-card__list {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slot-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.slot-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.slot-card .btn { margin-top: auto; }

.slots__foot {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: var(--text-muted);
}
.slots__foot a {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
}
.slots__foot a:hover { color: var(--ink); }

/* ===== HOW ===== */
.how {
  padding: var(--gap-section) 0;
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  margin: 0 12px;
  border: 1px solid var(--border);
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how-step {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  border: 1px solid var(--border);
  transition: border-color .2s ease, transform .2s ease;
}
.how-step:hover { border-color: var(--ink); transform: translateY(-2px); }
.how-step__num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
  opacity: 0.6;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.how-step__title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 10px;
}
.how-step__text {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== WHY ===== */
.why {
  padding: var(--gap-section) 0;
  background: var(--bg-soft);
  border-radius: var(--r-xl);
  margin: 0 12px;
  border: 1px solid var(--border);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s ease, transform .2s ease;
}
.why-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.why-card__icon {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  background: rgba(10, 10, 10, 0.16);
  color: var(--ink);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.why-card__icon svg { width: 28px; height: 28px; }
.why-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.why-card__text {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* ===== REVIEWS ===== */
.reviews { padding: var(--gap-section) 0; }
.reviews--dark {
  background: #0A0A0A;
  color: #F5EDE0;
  border-radius: 24px;
  margin: 0 16px;
}
.reviews--dark .rev-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.10);
  color: #F5EDE0;
}
.reviews--dark .rev-card__text::before { content: none; }
.reviews--dark .rev-card__text { color: rgba(245, 237, 224, 0.92); }
.reviews--dark .rev-card__cap { border-color: rgba(255, 255, 255, 0.10); }
.reviews--dark .rev-card__cap strong { color: #F5EDE0; }
.reviews--dark .rev-card__cap em { color: rgba(245, 237, 224, 0.6); }
.reviews--dark .rev-card__avatar {
  background: #F5EDE0;
  color: #0A0A0A;
}
.section-head--invert .section-head__title,
.section-head--invert .section-head__eyebrow {
  color: #F5EDE0;
}
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rev-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: border-color .2s ease, transform .2s ease;
}
.rev-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.rev-card__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
.rev-card__cap {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.rev-card__cap strong { display: block; font-weight: 700; color: var(--text); }
.rev-card__cap em { font-style: normal; color: var(--text-muted); font-size: 13px; }
.rev-card__avatar {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 17px;
}

/* ===== FAQ ===== */
.faq { padding: var(--gap-section) 0; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .25s ease;
  overflow: hidden;
}
.faq-item[open] {
  border-color: var(--ink);
  box-shadow: 0 0 24px rgba(10, 10, 10, 0.18);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--text);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__plus {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  position: relative;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.16);
  transition: background .2s ease;
}
.faq-item__plus::before, .faq-item__plus::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease;
}
.faq-item__plus::before { width: 10px; height: 2px; transform: translate(-50%, -50%); }
.faq-item__plus::after  { width: 2px; height: 10px; transform: translate(-50%, -50%); }
.faq-item[open] .faq-item__plus { background: var(--ink); }
.faq-item[open] .faq-item__plus::before,
.faq-item[open] .faq-item__plus::after { background: #FAFAF8; }
.faq-item[open] .faq-item__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item__a {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.65;
}

/* ===== CTA ===== */
.cta { padding: var(--gap-section) 0 120px; }
.cta__card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 64px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 300px at 50% 0%, rgba(10, 10, 10, 0.30), transparent 60%),
    radial-gradient(ellipse 400px 200px at 50% 100%, rgba(0, 0, 0, 0.20), transparent 60%);
  pointer-events: none;
}
.cta__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  position: relative;
}
.cta__sub {
  font-size: 18px;
  color: var(--text-dim);
  margin-bottom: 32px;
  position: relative;
}
.cta .btn--primary {
  background: var(--ink);
  color: #FAFAF8;
  position: relative;
}
.cta .btn--primary:hover { background: var(--ink); }

/* ===== FOOTER ===== */
.ftr {
  background: var(--bg);
  color: var(--text-muted);
  padding: 88px 0 48px;
  border-top: 1px solid var(--border);
}
.ftr__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}
.logo--ftr {
  color: var(--text);
  font-size: 28px;
}
.logo--ftr .logo__text { color: var(--text); }
.logo--ftr .logo__dot { background: var(--ink); box-shadow: 0 0 0 6px rgba(10, 10, 10, 0.22); }
.ftr__nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.ftr__nav a {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color .2s ease;
  position: relative;
}
.ftr__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--ink);
  transition: right .25s ease;
}
.ftr__nav a:hover { color: var(--ink); }
.ftr__nav a:hover::after { right: 0; }
.ftr__copy {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .slot-grid, .cat-grid, .rev-grid, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
}

@media (max-width: 720px) {
  .nav, .hdr__cta { display: none; }
  .burger { display: flex; }

  .hero { padding: 64px 0 44px; }
  .hero__title { font-size: 38px; line-height: 1.05; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .slots, .how, .cats, .why, .reviews, .faq, .cta { padding: 64px 0; }
  .cta { padding-bottom: 80px; }
  .cta__card { padding: 44px 24px; }

  .slot-grid, .cat-grid, .rev-grid, .how-steps { grid-template-columns: 1fr; gap: 14px; }
  .how, .why { margin: 0; border-radius: var(--r-lg); }

  .section-head { margin-bottom: 36px; }

  .faq-item__q { font-size: 16px; padding: 18px 20px; }
  .faq-item__a { padding: 0 20px 18px; }

  .ftr__nav { flex-direction: column; gap: 12px; }

  .chip--1, .chip--2, .chip--3, .chip--4, .chip--5, .chip--6,
  .hero__chips, .hero__chip, .hero__chip-dot,
  .hero__eyebrow { display: none; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 32px; }
  .slot-card, .cat-card, .why-card, .rev-card { padding: 22px 18px; }
}

/* ===== A11Y ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== LEGAL PAGES ===== */
.legal {
  padding: 80px 0 96px;
}
.legal__wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 44px;
  max-width: 760px;
  margin: 0 auto;
}
.legal__title {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.legal__meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 21px;
  margin: 32px 0 12px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.legal p {
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.7;
}
.legal ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
}
.legal li {
  color: var(--text-dim);
  margin-bottom: 8px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .legal { padding: 56px 0 64px; }
  .legal__wrap { padding: 30px 22px; }
}