:root {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}
body {
  min-height: 100vh;
}

/* Додавайте тут свої власні правила, щоб вони застосовувалися останніми */

/* ── Inline Page Lock ───────────────────────────────────────── */
.page-lock-gate {
  position: relative;
  margin: 32px auto 0;
  padding: 0 16px;
  z-index: 3;
}

.page-lock-gate[hidden] {
  display: none;
}

.page-lock-gate__card {
  width: min(100%, 960px);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(18, 18, 18, 0.12);
  overflow: hidden;
}

.page-lock-gate__top {
  padding: 36px 32px 18px;
}

.page-lock-gate__eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--accent-secondary-color, #72155d);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-lock-gate__title {
  margin: 0;
  max-width: 13ch;
  color: #161616;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 0.98;
  font-weight: 800;
}

.page-lock-gate__text {
  margin: 18px 0 0;
  max-width: 44ch;
  color: #3d3d3d;
  font-size: 18px;
  line-height: 1.65;
}

.page-lock-gate__preview {
  padding: 0 32px 28px;
}

.page-lock-gate__line {
  height: 14px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(237, 237, 237, 0.95) 0%, rgba(227, 227, 227, 0.72) 100%);
}

.page-lock-gate__fade {
  height: 110px;
  margin-top: -28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 78%);
}

.page-lock-gate__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-lock-gate__offer {
  padding: 28px 32px 34px;
}

.page-lock-gate__offer-title {
  margin: 0 0 6px;
  color: #1d1d1d;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
}

.page-lock-gate__offer-text {
  margin: 0;
  color: #444;
  font-size: 17px;
  line-height: 1.65;
}

.page-lock-form {
  padding: 28px 32px 34px;
  background: #f7f5fb;
}

.page-lock-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.page-lock-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.page-lock-form__field--full {
  grid-column: 1 / -1;
}

.page-lock-form__label {
  color: #323232;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.page-lock-form__input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8d4e3;
  border-radius: 14px;
  padding: 12px 15px;
  background: #fff;
  color: #222;
  font-size: 15px;
  line-height: 1.2;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-lock-form__input:focus {
  border-color: var(--accent-secondary-color, #72155d);
  box-shadow: 0 0 0 4px rgba(114, 21, 93, 0.12);
  outline: none;
}

.page-lock-form__button {
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-secondary-color, #72155d) 0%, var(--accent-color, #ff8961) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(114, 21, 93, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-lock-form__button:hover,
.page-lock-form__button:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(114, 21, 93, 0.24);
}

.page-lock-form__note {
  margin: 12px 0 0;
  color: #6d6780;
  font-size: 12px;
  line-height: 1.6;
}

.page-lock-form__note a {
  color: var(--accent-secondary-color, #72155d);
  text-decoration: none;
}

.page-lock-form__note a:hover {
  text-decoration: underline;
}

.page-lock-content {
  position: relative;
}

.page-lock-content.is-locked {
  display: none;
}

.page-lock-content.is-unlocked {
  display: block;
}

@media (max-width: 767px) {
  .page-lock-gate {
    padding: 0 12px;
  }

  .page-lock-gate__top,
  .page-lock-gate__preview,
  .page-lock-gate__offer,
  .page-lock-form {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-lock-gate__bottom {
    grid-template-columns: 1fr;
  }

  .page-lock-form__grid {
    grid-template-columns: 1fr;
  }

}
