:root {
  color-scheme: dark;
  --black: #000000;
  --panel: #080706;
  --gold: #f2b84a;
  --gold-strong: #ffc20f;
  --green: #159947;
  --green-dark: #0f7435;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 10px max(18px, calc((100vw - 860px) / 2));
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #17130f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sales-page {
  width: min(100%, 860px);
  margin-inline: auto;
  background: var(--black);
}

.sales-section {
  margin: 0;
  padding: 0;
  background: var(--black);
  content-visibility: auto;
  contain-intrinsic-size: 860px 1600px;
}

.sales-section img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.sales-section--first {
  padding-top: 0;
}

.cta-block {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(26px, 6vw, 46px) 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(242, 184, 74, 0.16), transparent 42%),
    var(--panel);
  text-align: center;
  content-visibility: auto;
  contain-intrinsic-size: 860px 180px;
}

.cta-block p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cta-block--final {
  padding-bottom: 58px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small:hover {
  animation: none;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 0 rgba(21, 153, 71, 0.52),
    0 18px 42px rgba(21, 153, 71, 0.3);
}

.button--primary:hover {
  animation: none;
  border-color: var(--white);
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #17130f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 22px 58px rgba(242, 184, 74, 0.34),
    0 0 48px rgba(21, 153, 71, 0.22);
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  border-color: rgba(0, 0, 0, 0.22);
  background: #11100d;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.button--primary {
  width: min(100%, 620px);
  min-height: 76px;
  border: 2px solid var(--gold-strong);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 0 rgba(21, 153, 71, 0.5),
    0 20px 48px rgba(21, 153, 71, 0.28),
    0 0 34px rgba(242, 184, 74, 0.16);
  font-size: clamp(1.12rem, 3.8vw, 1.55rem);
  text-transform: uppercase;
  animation: pulse-cta 1.75s ease-in-out infinite;
}

.button--wide {
  min-height: 68px;
  font-size: clamp(1.08rem, 4vw, 1.55rem);
}

.support-float {
  position: fixed;
  right: max(14px, calc((100vw - 860px) / 2 + 14px));
  bottom: 16px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  border: 2px solid var(--gold-strong);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(21, 153, 71, 0.28);
  font-size: 0.92rem;
  text-decoration: none;
}

.support-float span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: var(--green-dark);
  font-weight: 950;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.support-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.support-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 190px) 1fr;
  gap: 20px;
  width: min(100%, 620px);
  border: 1px solid rgba(255, 194, 15, 0.38);
  border-radius: 8px;
  padding: 18px;
  background: #fffaf0;
  color: #17130f;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.support-modal__dialog img {
  width: 100%;
  align-self: center;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.support-modal__dialog h2 {
  margin: 4px 34px 10px 0;
  color: #17130f;
  font-size: clamp(1.35rem, 4vw, 1.82rem);
  line-height: 1.18;
}

.support-modal__dialog p {
  margin: 0 0 18px;
  color: #4e473c;
  font-size: 1rem;
  line-height: 1.55;
}

.support-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #17130f;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.support-modal__button {
  min-height: 52px;
  border: 2px solid var(--gold-strong);
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 14px 34px rgba(21, 153, 71, 0.28);
}

.support-modal-open {
  overflow: hidden;
}

@keyframes pulse-cta {
  0% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 0 rgba(21, 153, 71, 0.46),
      0 20px 48px rgba(21, 153, 71, 0.28),
      0 0 34px rgba(242, 184, 74, 0.16);
  }

  70% {
    transform: scale(1.025);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 16px rgba(21, 153, 71, 0),
      0 24px 58px rgba(21, 153, 71, 0.36),
      0 0 44px rgba(242, 184, 74, 0.22);
  }

  100% {
    transform: scale(1);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 0 rgba(21, 153, 71, 0),
      0 20px 48px rgba(21, 153, 71, 0.28),
      0 0 34px rgba(242, 184, 74, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button--primary {
    animation: none;
  }

  .support-modal {
    transition: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand span {
    max-width: 156px;
  }

  .button--small {
    max-width: 142px;
    padding-inline: 12px;
  }

  .cta-block {
    padding-inline: 14px;
  }

  .support-float {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding-right: 12px;
    font-size: 0.84rem;
  }

  .support-modal {
    align-items: end;
    padding: 10px;
  }

  .support-modal__dialog {
    grid-template-columns: 86px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .support-modal__dialog h2 {
    margin-right: 34px;
    font-size: 1.18rem;
  }

  .support-modal__dialog p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .support-modal__button {
    width: 100%;
    min-height: 48px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }
}
