:root {
  color-scheme: dark;
  --ink: #f6f1e7;
  --muted: #aeb7ad;
  --field: #071110;
  --field-2: #102520;
  --line: rgba(246, 241, 231, .18);
  --acid: #d8ff53;
  --ember: #ff7a3d;
  --cyan: #65e7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(216, 255, 83, .08), transparent 32%),
    linear-gradient(245deg, rgba(255, 122, 61, .11), transparent 38%),
    var(--field);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
form,
input {
  font: inherit;
}

form {
  margin: 0;
}

button:disabled {
  cursor: wait;
  opacity: .72;
}

.catalog-shell {
  width: min(1280px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(380px, 1.22fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  padding: 48px 0;
}

.payment-page {
  width: min(720px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 48px 0;
}

.masthead {
  display: grid;
  gap: 22px;
}

.label {
  margin: 0;
  color: var(--acid);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 100%;
  display: grid;
  gap: 3px;
  font-size: clamp(2.75rem, 5.6vw, 5.65rem);
  line-height: .94;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.intro {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.store-note {
  max-width: 30rem;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(216, 255, 83, .08);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.45;
}

.template-stage {
  position: relative;
  min-height: min(760px, 88vh);
  display: grid;
  align-content: center;
  gap: 22px;
  isolation: isolate;
}

.radar {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: -1;
}

.radar span {
  position: absolute;
  width: min(74vw, 620px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(calc(var(--i, 1) * 21deg));
}

.radar span:nth-child(2) {
  --i: 2;
  width: min(60vw, 500px);
  border-style: dashed;
}

.radar span:nth-child(3) {
  --i: 3;
  width: min(42vw, 340px);
  background: conic-gradient(from 20deg, transparent, rgba(101, 231, 255, .12), transparent 28%);
}

.template-card {
  width: min(100%, 500px);
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 44px);
  background: rgba(7, 17, 16, .78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.template-card:nth-of-type(2) {
  justify-self: end;
}

.template-card:nth-of-type(3) {
  justify-self: center;
}

.template-card:nth-of-type(4) {
  justify-self: start;
}

.template-card h2 {
  margin-top: 8px;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: .86;
}

.template-card p:not(.label) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.facts {
  display: grid;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
}

.facts li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .035);
}

.facts strong {
  color: var(--cyan);
  font-size: .86rem;
}

.facts span {
  color: var(--ink);
}

.template-actions {
  display: grid;
  gap: 10px;
}

.launch,
.pay-button,
.download-link {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px 0 22px;
  background: var(--acid);
  color: #09100e;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.pay-button,
.download-link {
  width: 100%;
  justify-content: center;
  color: var(--ink);
  background: rgba(246, 241, 231, .07);
  border: 1px solid var(--line);
  cursor: pointer;
}

.download-link {
  color: #071110;
  background: var(--cyan);
  border-color: var(--cyan);
}

.paid-note {
  min-height: 42px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--acid);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.template-actions.is-paid .pay-button {
  color: var(--acid);
}

.launch svg {
  width: 24px;
  height: 24px;
}

.language-switcher {
  margin-top: 8px;
}

.language-switcher button {
  min-height: 40px;
  padding: 0 18px;
  background: rgba(246, 241, 231, .07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.language-switcher button:hover {
  background: rgba(246, 241, 231, .14);
}

@media (max-width: 800px) {
  .catalog-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 4.4rem);
  }

  .template-stage {
    min-height: 0;
  }

  .template-card,
  .template-card:nth-of-type(2),
  .template-card:nth-of-type(3),
  .template-card:nth-of-type(4) {
    justify-self: stretch;
  }
}
