/* ===== База ===== */
:root {
  --yellow: #FFCF00;
  --yellow-dark: #E8B800;
  --red: #E3000B;
  --blue: #006DB7;
  --green: #00A550;
  --orange: #FF7E00;
  --ink: #1B1B1B;
  --dark-btn: #242438;
  --grey-bg: #F7F7F7;
  --grey-line: #E6E6E6;
  --radius: 16px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .08);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 820px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--dark {
  background: var(--dark-btn);
  color: #fff;
}
.btn--dark:hover { box-shadow: 0 8px 20px rgba(36, 36, 56, .35); }

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--outline:hover { background: rgba(0, 0, 0, .06); }

.btn--outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.btn--outline-dark:hover { background: var(--ink); color: #fff; }

.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover { box-shadow: 0 8px 20px rgba(227, 0, 11, .35); }

.btn--yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn--yellow:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }

.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ===== Верхняя полоса ===== */
.topbar {
  background: #000;
  padding: 8px 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar__logo img { height: 34px; width: auto; }

.topbar__domain {
  color: #888;
  font-size: 12px;
  letter-spacing: .04em;
}

/* ===== Шапка ===== */
.header {
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .2s ease;
}

.header.is-scrolled { box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.header__brand {
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -.02em;
}

.header__brand sup { font-size: 10px; }

.nav {
  display: flex;
  gap: 26px;
  flex: 1;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: width .2s ease;
}

.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  color: #777;
}

.search input {
  border: none;
  outline: none;
  font: inherit;
  font-size: 14px;
  width: 130px;
  background: transparent;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: .2s;
}

/* ===== Хиро ===== */
.hero {
  background: var(--yellow);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding: 72px 24px 90px;
}

.chip {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero__text {
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
  margin-bottom: 20px;
}

.hero__buttons .btn { justify-content: center; }

.hero__note {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
  font-weight: 500;
  opacity: .75;
}

.hero__note i { margin-right: 6px; }

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__img {
  width: min(100%, 500px);
  height: auto;
  animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Полоса кирпичей под хиро */
.brick-strip {
  display: flex;
  height: 26px;
}

.brick-strip span {
  flex: 1;
  background: var(--c);
  position: relative;
}

.brick-strip span::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: var(--c);
}

/* ===== Статистика ===== */
.stats { padding: 56px 0; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__num {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
}

.stat__label {
  font-size: 14px;
  opacity: .7;
}

/* ===== Секции ===== */
.section { padding: 80px 0; }

.section--grey { background: var(--grey-bg); }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__head--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  max-width: none;
}

.section__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section__sub {
  margin-top: 10px;
  font-size: 16px;
  opacity: .7;
}

/* ===== Карточки перков ===== */
.perks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.perk-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.perk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.perk-card__media {
  height: 150px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .55) 12px, transparent 13px) 0 0 / 56px 56px,
    linear-gradient(135deg, var(--g1), var(--g2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-card__icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  transition: transform .25s ease;
}

.perk-card__icon i {
  font-size: 32px;
  color: var(--ic);
}

.perk-card:hover .perk-card__icon { transform: scale(1.1) rotate(-6deg); }

.perk-card__body { padding: 22px 24px 26px; }

.perk-card__body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.perk-card__body p {
  font-size: 14.5px;
  opacity: .75;
  margin-bottom: 16px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
}

/* ===== Шаги ===== */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
}

.step {
  flex: 1;
  max-width: 320px;
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 28px;
  text-align: center;
}

.step__brick {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  position: relative;
}

.step__brick::before {
  content: '';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 10px;
  border-radius: 4px 4px 0 0;
  background: inherit;
}

.step__brick--red { background: var(--red); }
.step__brick--yellow { background: var(--yellow); color: var(--ink); }
.step__brick--blue { background: var(--blue); }

.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  opacity: .75;
}

.step__arrow {
  align-self: center;
  font-size: 30px;
  font-weight: 700;
  opacity: .3;
}

/* ===== Табы и креаторы ===== */
.tabs {
  display: inline-flex;
  background: var(--grey-bg);
  border: 1px solid var(--grey-line);
  border-radius: 999px;
  padding: 4px;
  flex-shrink: 0;
}

.tabs__btn {
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 20px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.tabs__btn.is-active {
  background: var(--ink);
  color: #fff;
}

/* Фильтры креаторов */
.filters {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 34px;
}

.filters__group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filters__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .5;
  margin-right: 6px;
  line-height: 1;
}

.filters__chip {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid var(--grey-line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.filters__chip i {
  margin-right: 6px;
  font-size: 13px;
}

.filters__chip:hover { border-color: var(--ink); }

.filters__chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.creators__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.creators__empty {
  text-align: center;
  padding: 48px 0;
  font-size: 15px;
  opacity: .55;
}

.creator-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.creator-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.creator-card__avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  border: 3px solid #fff;
  outline: 2px solid var(--grey-line);
}

.creator-card__avatar--instagram {
  background: linear-gradient(45deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5);
}

.creator-card__avatar--youtube { background: #FF0000; }

.creator-card__name {
  font-size: 16.5px;
  font-weight: 700;
}

.creator-card__handle {
  font-size: 13px;
  opacity: .6;
  margin-bottom: 16px;
}

.creator-card__meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-line);
  font-size: 12.5px;
}

.creator-card__meta b {
  display: block;
  font-size: 15px;
}

.creator-card__meta span { opacity: .6; }

.creator-card__platform {
  display: inline-block;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yellow);
}

.shuffle {
  text-align: center;
  margin-top: 40px;
}

/* ===== CTA ===== */
.cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.cta__studs {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, .14) 10px, transparent 11px) 0 0 / 72px 72px;
  pointer-events: none;
}

.cta__inner { position: relative; }

.cta h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 14px;
}

.cta p {
  font-size: 16.5px;
  opacity: .9;
  margin-bottom: 34px;
}

/* ===== FAQ ===== */
.faq__item {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background .15s ease;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item summary:hover { background: var(--grey-bg); }

.faq__item p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  opacity: .75;
}

/* ===== Футер ===== */
.footer {
  background: #000;
  color: #ccc;
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer__logo { height: 46px; width: auto; margin-bottom: 18px; }

.footer__brand p {
  font-size: 14px;
  opacity: .7;
  max-width: 260px;
}

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  opacity: .75;
  transition: opacity .15s ease, transform .15s ease;
}

.footer__col a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer__legal {
  border-top: 1px solid #222;
  padding: 22px 0;
}

.footer__legal-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__legal p {
  font-size: 12.5px;
  opacity: .55;
}

.footer__legal-links {
  display: flex;
  gap: 22px;
}

.footer__legal-links a {
  font-size: 12.5px;
  opacity: .55;
}

.footer__legal-links a:hover { opacity: 1; }

/* ===== Большая кнопка инвайта в хиро ===== */
.btn--invite {
  grid-column: 1 / -1;
  background: #fff;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 16px;
  animation: invitePulse 2.4s ease-out infinite;
}

.btn--invite:hover {
  background: var(--ink);
  color: var(--yellow);
  animation: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}

@keyframes invitePulse {
  0% { box-shadow: 0 0 0 0 rgba(27, 27, 27, .4); }
  70% { box-shadow: 0 0 0 16px rgba(27, 27, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(27, 27, 27, 0); }
}

/* ===== Модалка ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 30, .55);
  backdrop-filter: blur(4px);
}

.modal__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  width: 100%;
  max-width: 420px;
  padding: 44px 36px 36px;
  text-align: center;
  overflow: hidden;
  transform: translateY(14px) scale(.97);
  transition: transform .2s ease;
}

.modal.is-open .modal__card { transform: translateY(0) scale(1); }

.modal__strip {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--yellow);
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 22px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--ink);
  opacity: .45;
  cursor: pointer;
  transition: opacity .15s ease;
}

.modal__close:hover { opacity: 1; }

.modal__card h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}

.modal__card > p {
  font-size: 14.5px;
  opacity: .7;
  margin-bottom: 24px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal__form input {
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 14px 18px;
  border: 2px solid var(--grey-line);
  border-radius: 12px;
  outline: none;
  transition: border-color .15s ease;
}

.modal__form input:focus { border-color: var(--ink); }

.modal__form .btn { justify-content: center; }

.modal__error {
  display: none;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--red);
}

.modal__error.is-visible { display: block; }

.modal__card.is-shaking { animation: shake .4s ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

/* Широкая модалка с формой */
.modal__card--wide {
  max-width: 520px;
  text-align: left;
}

.modal__card--wide h3,
.modal__card--wide > div > p { text-align: center; }

.modal__form--left { gap: 16px; }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.field span {
  font-size: 13px;
  font-weight: 600;
}

.field em {
  font-style: normal;
  font-weight: 400;
  opacity: .5;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  padding: 12px 14px;
  border: 2px solid var(--grey-line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  transition: border-color .15s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); }

.field textarea { resize: vertical; min-height: 72px; }

.field-row {
  display: flex;
  gap: 14px;
}

.modal__form .btn { justify-content: center; margin-top: 4px; }

.modal__success {
  text-align: center;
  padding: 20px 0 8px;
}

.modal__success > i {
  font-size: 54px;
  color: var(--green);
  margin-bottom: 18px;
}

.modal__success h3 { margin-bottom: 10px; }

.modal__success p {
  font-size: 14.5px;
  opacity: .7;
  margin-bottom: 26px;
}

.modal__success .btn { margin: 0 auto; }

/* ===== Страница invite ===== */
.page-hero {
  background: var(--yellow);
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}

.page-hero .chip { margin-bottom: 20px; }

.page-hero__img {
  width: min(100%, 380px);
  height: auto;
  justify-self: center;
  animation: bob 5s ease-in-out infinite;
}

.page-hero__title {
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero__text {
  font-size: 17px;
  max-width: 540px;
}

.page-hero__lock {
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  opacity: .6;
}

.page-hero__lock i { margin-right: 6px; }

/* Почему мы — 4 карточки */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.why-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  opacity: .75;
}

/* Вилка заработка */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tier {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  text-align: center;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.tier:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.tier--hot {
  border: 2px solid var(--ink);
  transform: scale(1.03);
}

.tier--hot:hover { transform: scale(1.03) translateY(-6px); }

.tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.tier__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: 6px;
}

.tier__audience {
  font-size: 13.5px;
  opacity: .6;
  margin-bottom: 18px;
}

.tier__sum {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.tier__per {
  font-size: 13px;
  opacity: .6;
  margin-bottom: 20px;
}

.tier__list {
  list-style: none;
  text-align: left;
  font-size: 14px;
  display: grid;
  gap: 10px;
}

.tier__list i {
  color: var(--green);
  margin-right: 8px;
}

/* Полоса доверия */
.trust {
  background: var(--grey-bg);
  border-top: 1px solid var(--grey-line);
  border-bottom: 1px solid var(--grey-line);
  padding: 26px 0;
}

.trust__row {
  display: flex;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  font-size: 14.5px;
  font-weight: 600;
}

.trust__row i {
  color: var(--blue);
  margin-right: 8px;
}

/* ===== Страница connect ===== */
.connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 880px;
  margin: 0 auto;
}

.connect-card {
  background: #fff;
  border: 1px solid var(--grey-line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 44px 36px;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connect-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.connect-card__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.connect-card__logo img,
.connect-card__logo svg {
  width: 40px;
  height: 40px;
}

.connect-card__logo span {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.01em;
}

/* Кнопки с реальными лого */
.btn__logo {
  width: 20px;
  height: 20px;
}

.btn--calendly {
  background: #006BFF;
  color: #fff;
}

.btn--calendly .btn__logo { filter: brightness(0) invert(1); }

.btn--calendly:hover { box-shadow: 0 8px 20px rgba(0, 107, 255, .4); }

.btn--google {
  background: #fff;
  border: 1px solid #DADCE0;
  color: #3C4043;
}

.btn--google:hover {
  background: #F8F9FA;
  box-shadow: 0 4px 14px rgba(60, 64, 67, .18);
}

.connect-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.connect-card p {
  font-size: 14.5px;
  opacity: .7;
  margin-bottom: 28px;
  flex: 1;
}

.connect-card .btn { justify-content: center; }

.connect__note {
  text-align: center;
  margin-top: 34px;
  font-size: 13.5px;
  opacity: .6;
}

/* ===== Доступность и полировка (по Web Interface Guidelines) ===== */

/* видимый фокус с клавиатуры */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 8px;
}

/* skip-link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}

.skip-link:focus-visible { top: 0; }

/* липкая шапка не должна перекрывать якоря */
section[id] { scroll-margin-top: 84px; }

/* тач: без задержки двойного тапа и синей вспышки */
a, button, summary, .tabs__btn, .filters__chip {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* модалка не тянет страницу за собой */
.modal__card { overscroll-behavior: contain; }

/* фокус на поиске — кольцо вместо убранного outline */
.search:focus-within {
  box-shadow: 0 0 0 3px var(--ink);
}

/* заголовки без висячих строк */
h1, h2, h3, .hero__title, .page-hero__title, .section__title {
  text-wrap: balance;
}

/* грид-элементы не раздувают страницу + страховка от горизонтального скролла */
.hero__content,
.hero__art,
.page-hero__content,
.page-hero__img {
  min-width: 0;
}

body { overflow-x: hidden; }

/* длинные имена/хендлы не ломают карточки */
.creator-card__name,
.creator-card__handle {
  overflow-wrap: break-word;
  min-width: 0;
}

/* уважаем prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero__img,
  .page-hero__img,
  .btn--invite {
    animation: none;
  }

  html { scroll-behavior: auto; }

  * {
    transition-duration: .01ms !important;
  }
}

/* ===== Адаптив ===== */
@media (max-width: 1020px) {
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .creators__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .tier--hot { transform: none; }
  .tier--hot:hover { transform: translateY(-6px); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--yellow);
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
    display: none;
    box-shadow: 0 14px 20px rgba(0, 0, 0, .12);
  }

  .nav.is-open { display: flex; }

  .nav__link { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }

  .burger { display: flex; }

  .search { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 56px 24px 72px;
  }

  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__buttons { margin-left: auto; margin-right: auto; }
  .hero__note { justify-content: center; }
  .hero__art { order: -1; }
  .hero__img { width: min(100%, 420px); }

  .page-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-hero__img {
    order: -1;
    margin: 0 auto;
    width: min(80%, 280px);
  }

  .page-hero__text { margin: 0 auto; }

  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); }

  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .perks__grid,
  .creators__grid { grid-template-columns: 1fr; }

  .why__grid,
  .connect__grid { grid-template-columns: 1fr; }

  .section { padding: 60px 0; }
  .header__actions .btn { display: none; }
  .modal__card { padding: 40px 24px 30px; }

  .hero__buttons { grid-template-columns: 1fr; }
}
