: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%;
}

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);
}

.sales-section img {
  width: 100%;
  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;
}

.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);
}

@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;
  }
}

@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;
  }
}
