@charset "UTF-8";
/* ==========================================================================
   Jeff's Models - join page
   Размеры сняты с main_design_02.psd (макет x2) и поделены на 2.
   ========================================================================== */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --pink: #ff00ae;
  --pink-soft: #ffd8f3;
  --pink-line: #c70c79;
  --blue: #2d6f9a;
  --blue-logo: #3a7fab;
  --green-soft: #e2ffdb;
  --gray-line: #999999;
  --gray-text: #464646;
  --gray-sub: #686868;
  --gray-placeholder: #707070;
  --paypal-line: #3f6fdd;
  --col: 607px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #fff;
  color: #000;
  font-family: 'Gilroy', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ===== header ============================================================ */
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 93px;
  padding: 37px 30px 0 37px;
}

.logo {
  margin-top: 4px;
  font-size: 61px;
  line-height: 1;
  letter-spacing: -0.025em;
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark { color: var(--pink); font-weight: 600; }
.logo__name { color: var(--blue-logo); font-weight: 500; }

.btn-login {
  flex: none;
  width: 159px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}
.btn-login:hover { background: #e5009c; }

/* ===== заголовки секций ================================================== */
.title {
  font-size: 22.5px;
  font-weight: 600;
  color: var(--blue);
  text-align: center;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ===== форма ============================================================= */
.join {
  width: var(--col);
  margin: 0 auto;
  padding-top: 32px;
}

.fields { margin-top: 18px; }

.field {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--gray-line);
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  outline: none;
}
.field + .field { margin-top: 6px; }
.field::placeholder { color: var(--gray-placeholder); opacity: 1; }
.field:focus { border-color: var(--pink); }

.hint {
  margin-top: 10px;
  padding-left: 15px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

/* ===== тарифы ============================================================ */
.plans { margin-top: 37px; }

.plan {
  position: relative;
  display: flex;
  align-items: center;
  height: 73px;
  padding: 0 14px;
  border: 1px solid #000;
  background: #fff;
  cursor: pointer;
}
.plan + .plan { margin-top: 6px; }
.plan.is-active {
  border-color: var(--pink-line);
  background: var(--pink-soft);
}

.plan__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan__info { flex: 1 1 auto; min-width: 0; }

.plan__title {
  display: block;
  font-size: 19.5px;
  font-weight: 600;
  line-height: 1.15;
}

.plan__sub {
  display: block;
  margin-top: 8px;
  color: var(--gray-sub);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.15;
}
.plan.is-active .plan__sub { color: #000; }

.plan__badges {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-right: 21px;
}

.badge {
  width: 112px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}
.badge--deal { background: var(--pink); color: #fff; }
.badge--save { background: var(--green-soft); color: var(--gray-text); }

.plan__price {
  flex: none;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

/* ===== оплата ============================================================ */
.title--pay { margin-top: 47px; }

.pay {
  display: flex;
  gap: 19px;
  margin-top: 17px;
}

.pay__opt {
  flex: 1 1 0;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 27px;
  padding-left: 16px;
  border: 1px solid var(--paypal-line);
  background: #fff;
  cursor: pointer;
}
.pay__opt.is-active {
  border: 2px solid var(--pink);
  background: var(--pink-soft);
}
.pay__opt--paypal { justify-content: center; padding-left: 0; }

.pay__radio { position: absolute; opacity: 0; pointer-events: none; }

.pay__icon { width: 53px; height: 36px; }
.pay__logo { width: 153px; height: 41px; }

.pay__label {
  font-size: 24px;
  font-weight: 600;
}

/* ===== кнопка ============================================================ */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 325px;
  height: 58px;
  margin: 46px auto 0;
  border: none;
  background: var(--pink);
  color: #fff;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-cta:hover { background: #e5009c; }
.btn-cta__arrow { width: 10px; height: 17px; }

/* ===== преимущества ====================================================== */
.benefits {
  max-width: 760px;
  margin: 50px auto 0;
  text-align: center;
}

.benefits__title {
  color: var(--pink);
  font-size: 22.5px;
  font-weight: 600;
  line-height: 1;
}
.benefits__title + p { margin-top: 0; }

.benefits p {
  color: var(--gray-text);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 21px;
}
.benefits p + .benefits__title { margin-top: 22px; }

/* ===== FAQ =============================================================== */
.faq {
  max-width: 857px;
  margin: 69px auto 0;
}

.faq__title {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 22.5px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
}

.faq__item + .faq__item { margin-top: 36px; }

.faq__q {
  color: var(--pink);
  font-size: 14.2px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.faq p {
  margin-top: 5px;
  color: var(--gray-text);
  font-size: 11.4px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 14px;
}
.faq p + p { margin-top: 14px; }

/* ===== условия подписки ================================================== */
.terms {
  max-width: 790px;
  margin: 51px auto 0;
  text-align: center;
}

.terms p {
  color: var(--gray-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 13px;
}
.terms p + p { margin-top: 16px; }
.terms__head { color: var(--pink); }

/* ===== низ страницы ====================================================== */
.legal {
  margin-top: 67px;
  padding-bottom: 60px;
  text-align: center;
}

.legal p {
  color: var(--gray-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 14.5px;
}

.legal__rta {
  width: 70px;
  height: 31px;
  margin: 26px auto 0;
}

/* ===== адаптив =========================================================== */
@media (max-width: 900px) {
  .faq, .terms, .benefits { max-width: none; padding: 0 20px; }
}

@media (max-width: 680px) {
  .lb { display: none; }

  .topbar { height: auto; padding: 20px 16px 0; }
  .logo { font-size: 34px; }
  .btn-login { width: 100px; height: 34px; font-size: 17px; }

  .join { width: auto; padding: 20px 16px 0; }

  .plan { height: auto; padding: 12px 14px; flex-wrap: wrap; }
  .plan__info { flex: 1 1 100%; order: 1; }
  .plan__badges { order: 2; flex-direction: row; margin: 10px 0 0; }
  .plan__price { order: 3; margin: 10px 0 0 auto; }

  .pay { flex-direction: column; }
  .pay__opt { justify-content: center; padding-left: 0; }

  .btn-cta { width: 100%; max-width: 325px; }
}
