/* =========================================================
   Climbify — single-screen storefront
   ========================================================= */
:root {
  --bg: #000;
  --card: #1a1a1c;
  --card-hover: #202022;
  --line: #2a2a2c;
  --text: #f5f5f7;
  --muted: #86868b;
  --green: #30d158;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Nav ---------- */
.nav {
  width: 100%; max-width: 980px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand__logo { width: 26px; height: 26px; object-fit: contain; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__panel {
  display: inline-flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px 0 11px; border-radius: 999px;
  background: var(--card); color: #e5e5ea; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav__panel svg { width: 16px; height: 16px; color: var(--green); }
.nav__panel:hover { background: #262628; color: var(--text); }
.nav__panel.is-current { box-shadow: inset 0 0 0 1.5px rgba(48, 209, 88, 0.5); }
.nav__discord {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  margin: -10px -8px -10px 0;
  color: var(--green); transition: background .2s, transform .2s var(--ease);
}
.nav__discord:hover { background: rgba(48, 209, 88, 0.12); }
.nav__discord:active { transform: scale(.94); }
.nav__discord svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Layout ---------- */
.store {
  flex: 1;
  width: 100%; max-width: 980px; margin: 0 auto;
  padding: 0 24px 14px;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 2.4vh, 24px);
}

/* ---------- Headline ---------- */
.head { text-align: center; margin-bottom: clamp(0px, 1vh, 12px); display: flex; flex-direction: column; align-items: center; }
.head__title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.perk {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 6px 14px 6px 12px; border-radius: 999px;
  background: rgba(48, 209, 88, 0.12); color: var(--green);
  font-size: 15px; font-weight: 600;
}
.perk svg { width: 17px; height: 17px; flex: none; }

/* Apple-style segmented control */
.segment {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(12px, 2vh, 26px); padding: 3px;
  background: var(--card); border-radius: 10px;
}
.segment__btn {
  position: relative; z-index: 1; width: 112px; height: 32px;
  font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 8px;
  transition: color .25s;
}
.segment__btn.is-active { color: var(--text); }
.segment__thumb {
  position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  background: #3e3e41; border-radius: 8px;
  transition: transform .35s var(--ease);
}
.segment.is-lifetime .segment__thumb { transform: translateX(100%); }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product {
  background: var(--card); border-radius: 22px;
  padding: clamp(16px, 2.6vh, 30px) 28px clamp(18px, 2.8vh, 30px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: background .3s;
}
.product:hover { background: var(--card-hover); }
.product__img {
  height: clamp(100px, 17vh, 190px); width: 100%; object-fit: contain;
  margin-bottom: clamp(8px, 1.6vh, 20px);
  transition: transform .6s var(--ease);
}
.product:hover .product__img { transform: scale(1.03); }
.product__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.product__desc { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price { margin: 14px 0 16px; }
.price__value { font-size: 20px; font-weight: 600; transition: opacity .15s; }
.price__period { color: var(--muted); font-size: 14px; margin-left: 4px; transition: opacity .15s; }
.price.is-swapping > * { opacity: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; min-width: 96px; padding: 0 22px; border-radius: 999px;
  background: var(--green); color: #00150a;
  font-weight: 600; font-size: 15px;
  transition: filter .2s, transform .2s var(--ease);
}
.btn:hover { filter: brightness(1.1); }
.btn:active { transform: scale(.97); }

/* ---------- Included gift (voucher) ---------- */
.gift {
  position: relative;
  display: grid; grid-template-columns: 1fr auto;
  border-radius: 22px;
  background: var(--card);
  transition: background .3s;
}
.gift:hover { background: var(--card-hover); }
.gift__main { display: flex; align-items: stretch; gap: 26px; padding: 0 24px 0 26px; min-width: 0; }

/* gift box with a soft green glow behind it */
.gift__visual { position: relative; flex: none; width: clamp(104px, 15vh, 136px); display: grid; place-items: center; }
.gift__visual::after {
  content: ""; position: absolute; inset: 15% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(48, 209, 88, 0.28), transparent);
}
/* closed box by default; hovering (or tapping on phones) slowly opens it */
.gift__stack { position: relative; z-index: 1; display: block; width: 100%; margin: -16px 0 -6px; }
.gift__img {
  display: block; width: 100%; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6));
  transition: opacity .9s var(--ease), transform 1.1s var(--ease);
}
.gift__img--closed { transform: rotate(-6deg); }
.gift__img--open {
  position: absolute; inset: 0;
  opacity: 0; transform: rotate(-6deg) translateY(8px) scale(.94);
}
.gift:hover .gift__img--closed, .gift.is-open .gift__img--closed {
  opacity: 0; transform: rotate(-2deg) translateY(-10px) scale(1.04);
}
.gift:hover .gift__img--open, .gift.is-open .gift__img--open {
  opacity: 1; transform: rotate(-3deg) translateY(-6px) scale(1.06);
  transition-delay: .12s;
}
.gift__visual::after { opacity: .5; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.gift:hover .gift__visual::after, .gift.is-open .gift__visual::after { opacity: 1; transform: scale(1.3); }
.gift__text { align-self: center; padding: 18px 0; }
.gift__label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  background: rgba(48, 209, 88, 0.14); color: var(--green);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.gift__label svg { width: 14px; height: 14px; }
.gift__title { font-size: 24px; font-weight: 700; letter-spacing: -0.025em; margin-top: 8px; }
.gift__desc { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* tear-off stub */
.gift__stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 36px; border-left: 2px dashed #3a3a3c;
}
.gift__stub::before, .gift__stub::after {
  content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg);
}
.gift__stub::before { top: -12px; }
.gift__stub::after { bottom: -12px; }
.gift__free { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--green); line-height: 1; }
.gift__with { color: var(--muted); font-size: 12px; margin-top: 6px; white-space: nowrap; }

.trust { text-align: center; color: #57575c; font-size: 12px; }

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  .nav { padding: 16px 18px; }
  .store { padding: 0 16px 16px; gap: 12px; }
  .products { gap: 10px; }
  .product { padding: 16px 12px 18px; border-radius: 18px; }
  .product__img { height: 92px; margin-bottom: 10px; }
  .product__name { font-size: 16px; }
  .product__desc { display: none; }
  .price { margin: 8px 0 12px; display: flex; flex-direction: column; }
  .price__value { font-size: 18px; }
  .price__period { margin-left: 0; font-size: 12px; }
  .btn { height: 34px; min-width: 0; width: 100%; font-size: 14px; }

  .gift { border-radius: 18px; }
  .gift__main { gap: 14px; padding: 0 8px 0 14px; }
  .gift__visual { width: 74px; }
  .gift__stack { margin: -10px 0 -4px; }
  .gift__text { padding: 12px 0; }
  .gift__desc { font-size: 12px; }
  .gift__label { font-size: 10px; padding: 3px 8px 3px 6px; }
  .gift__label svg { width: 11px; height: 11px; }
  .gift__title { font-size: 17px; }
  .gift__stub { padding: 0 14px; }
  .gift__free { font-size: 22px; }
  .gift__with { font-size: 10px; }
  .trust { font-size: 11px; }
}

/* =========================================================
   Checkout page
   ========================================================= */
.checkout {
  flex: 1;
  width: 100%; max-width: 980px; margin: 0 auto;
  padding: 0 24px 24px;
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.back {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
  height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
  background: var(--card); color: #d1d1d6; font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.back svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.back:hover { background: #242426; color: var(--text); }
.back:hover svg { transform: translateX(-3px); }

.checkout__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.panel { background: var(--card); border-radius: 22px; padding: 28px; }

/* left: the picked macro */
.picked__img {
  width: 100%; height: clamp(140px, 24vh, 230px); object-fit: contain;
  padding: 16px; border-radius: 18px;
  background: radial-gradient(60% 70% at 50% 60%, #2a2a2d, #1f1f21 70%);
}
.picked__img.is-swapping { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }
.picked__info { margin-top: 18px; }
.picked__label { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.picked__name { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; }
.picked__desc { color: var(--muted); font-size: 15px; margin-top: 2px; }
.switch {
  margin-top: 8px; padding: 0;
  color: var(--green); font-size: 14px; font-weight: 500;
}
.switch:hover { text-decoration: underline; }

.step { font-size: 14px; font-weight: 600; color: var(--muted); margin: 22px 0 10px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.option {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 16px 12px 14px; border-radius: 14px;
  background: #222224; border: 2px solid transparent;
  transition: border-color .2s, background .2s;
}
.option:hover { background: #262628; }
.option.is-selected { border-color: var(--green); background: rgba(48, 209, 88, 0.07); }
.option__name { font-size: 15px; font-weight: 600; }
.option__price { color: var(--muted); font-size: 14px; }
.option.is-selected .option__price { color: var(--text); }
.option__tag {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  padding: 2px 9px; border-radius: 999px;
  background: var(--green); color: #00150a;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}

.included {
  display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 10px 16px 10px 10px; border-radius: 14px;
  background: rgba(48, 209, 88, 0.06);
  border: 1.5px dashed rgba(48, 209, 88, 0.45);
}
.included__img {
  width: 54px; height: 54px; object-fit: contain; flex: none;
  transform: rotate(-6deg);
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5));
}
.included__text { flex: 1; min-width: 0; }
.included__label {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.included__label svg { width: 12px; height: 12px; }
.included__title { font-size: 15px; font-weight: 600; margin-top: 1px; }
.included__desc { font-size: 12.5px; color: var(--muted); }
.included__free {
  padding: 4px 12px; border-radius: 999px;
  background: var(--green); color: #00150a;
  font-size: 13px; font-weight: 700;
}

/* right: summary */
.summary { display: flex; flex-direction: column; }
.summary__title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.summary__rows { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.row--muted { color: var(--muted); font-size: 13px; margin-top: -8px; }
.row--total {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 20px; font-weight: 700;
}
.green { color: var(--green); font-weight: 600; }
.btn--block { width: 100%; height: 48px; font-size: 16px; margin-top: 22px; }
.assure {
  list-style: none; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: #222224; display: grid; gap: 8px;
  font-size: 13px; color: #a1a1a6;
}
.assure li { display: flex; align-items: center; gap: 10px; }
.assure svg { width: 16px; height: 16px; flex: none; color: var(--green); }

@media (max-width: 760px) {
  .checkout { padding: 0 16px 10px; gap: 8px; justify-content: flex-start; }
  .checkout__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .panel { padding: 16px; border-radius: 18px; }
  .picked__hero { display: grid; grid-template-columns: 42% 1fr; gap: 14px; align-items: center; }
  .picked__img { height: 88px; padding: 8px; border-radius: 14px; }
  .picked__info { margin-top: 0; }
  .picked__label { font-size: 10px; }
  .picked__name { font-size: 20px; }
  .picked__desc { font-size: 13px; }
  .switch { font-size: 13px; margin-top: 4px; text-align: left; }
  .step { margin: 14px 0 8px; font-size: 13px; }
  .option { padding: 14px 10px 12px; }
  .included { margin-top: 12px; padding: 8px 14px 8px 8px; }
  .included__img { width: 44px; height: 44px; }
  .included__desc { display: none; }
  .summary__title { font-size: 17px; margin-bottom: 12px; }
  .summary__rows { gap: 8px; }
  .row--total { font-size: 18px; padding-top: 10px; margin-top: 6px; }
  .btn--block { margin-top: 14px; }
  .assure { margin-top: 10px; padding: 10px 12px; gap: 6px; font-size: 12px; }
}

/* =========================================================
   Checkout consent
   ========================================================= */
.consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 16px;
  font-size: 12.5px; line-height: 1.45; color: #a1a1a6; cursor: pointer;
}
.consent input {
  appearance: none; flex: none; width: 18px; height: 18px; margin-top: 1px;
  border-radius: 5px; border: 1.5px solid #5a5a5e; background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.consent input:checked {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300150a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--green);
}
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.consent.is-needed { color: #ff6961; animation: shake .35s; }
.consent.is-needed input { border-color: #ff6961; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }


/* =========================================================
   Download page
   ========================================================= */
.dl {
  flex: 1; width: 100%; max-width: 560px; margin: 0 auto;
  padding: 0 24px 16px;
  display: flex; flex-direction: column; justify-content: center;
}
.dl__card { text-align: center; padding: 34px 32px 28px; }
.dl__check {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: rgba(48, 209, 88, 0.14); color: var(--green);
}
.dl__check svg { width: 28px; height: 28px; }
.dl__title { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-top: 14px; }
.dl__sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.dl__card .btn--block { margin-top: 24px; gap: 8px; }
.dl__card .btn--block svg { width: 20px; height: 20px; }
.dl__meta { color: var(--muted); font-size: 12px; margin-top: 8px; }
.dl__steps {
  list-style: none; text-align: left; margin-top: 22px;
  display: grid; gap: 10px;
}
.dl__steps li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.dl__steps span {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: #2c2c2e; font-size: 13px; font-weight: 600;
}
.dl__card .included { text-align: left; margin-top: 20px; }
.dl__help { color: var(--muted); font-size: 13px; margin-top: 18px; }
.dl__help a { color: var(--green); }
.dl__help a:hover { text-decoration: underline; }

/* =========================================================
   Legal pages
   ========================================================= */
.doc { width: 100%; max-width: 720px; margin: 0 auto; padding: 10px 24px 40px; }
.doc__title { font-size: clamp(32px, 5vw, 44px); font-weight: 700; letter-spacing: -0.035em; margin-top: 24px; }
.doc__updated { color: var(--muted); font-size: 13px; margin-top: 4px; }
.doc__intro { font-size: 17px; color: #d1d1d6; margin-top: 18px; }
.doc section { margin-top: 30px; }
.doc h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.doc p, .doc li { color: #a1a1a6; font-size: 15px; line-height: 1.6; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc a:not(.back) { color: var(--green); }
.doc a:not(.back):hover { text-decoration: underline; }
.doc__highlight { background: var(--card); border-radius: 18px; padding: 22px 24px; }

.legal-links { text-align: center; font-size: 12px; color: #57575c; padding: 0 16px 16px; }
.legal-links a { color: #6e6e73; transition: color .2s; }
.legal-links a:hover { color: var(--text); }
.trust a { color: #6e6e73; transition: color .2s; }
.trust a:hover { color: var(--text); }

@media (max-width: 760px) {
  .dl { padding: 0 16px 12px; }
  .dl__card { padding: 26px 18px 22px; }
  .dl__title { font-size: 26px; }
  .doc__highlight { padding: 18px; }
  .checkout ~ .legal-links { display: none; }
}

/* =========================================================
   Payment method menu (checkout)
   ========================================================= */
.pay { position: relative; margin-top: 12px; }
.pay .btn--block { margin-top: 0; gap: 8px; }
.pay .btn--block svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.pay .btn--block.is-open svg { transform: rotate(180deg); }
.paymenu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 10;
  padding: 8px; border-radius: 16px;
  background: #2a2a2c; border: 1px solid #3a3a3c;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8);
  animation: menuIn .22s var(--ease);
}
.paymenu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(6px); } }
.paymenu__title { font-size: 13px; font-weight: 600; color: var(--text); padding: 8px 10px 10px; }

/* payment method rows */
.pm {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; border-radius: 12px;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s;
}
.pm + .pm { margin-top: 6px; }
.pm:hover { background: #333336; border-color: rgba(48, 209, 88, 0.55); }
.pm__tile {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: #3a3a3d; color: var(--text);
  font: italic 800 20px/1 "Inter", sans-serif;
}
.pm__tile svg { width: 20px; height: 20px; }
.pm__tile { position: relative; }
.pm__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.pm__tile.has-img { background: transparent; }
.pm__tile.has-img > svg, .pm__tile.has-img > .pm__letter { visibility: hidden; }
.pm__tile--pp { background: #0070e0; color: #fff; }
.pm__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pm__name { font-size: 15px; font-weight: 600; }
.pm__sub { font-size: 12px; color: var(--muted); }
.pm__logos { display: flex; gap: 5px; flex: none; }
.pm__logos > span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; min-width: 36px; padding: 0 6px; border-radius: 5px; background: #fff;
}
.badge-visa { font: italic 800 11px/1 "Inter", sans-serif; letter-spacing: .02em; color: #1a1f71; }
.badge-mc i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.badge-mc i:first-child { background: #eb001b; }
.badge-mc i:last-child { background: #f79e1b; margin-left: -5px; mix-blend-mode: multiply; }
.badge-pp { font: italic 800 11px/1 "Inter", sans-serif; }
.badge-pp b { color: #003087; font-weight: 800; }
.badge-pp i { color: #009cde; font-style: italic; }
.pm.is-soon { opacity: .45; pointer-events: none; }

.paymenu__foot {
  display: flex; align-items: center; gap: 6px;
  margin: 8px 4px 2px; padding-top: 10px; border-top: 1px solid #3a3a3c;
  font-size: 11.5px; color: var(--muted);
}
.paymenu__foot svg { width: 13px; height: 13px; flex: none; color: var(--green); }
.paymenu__foot { white-space: nowrap; font-size: 11px; }

/* =========================================================
   PayPal-via-Discord page
   ========================================================= */
.dl > .back { margin-bottom: 14px; }
.cr { padding: 28px; }
.cr__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cr__title { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.cr__order { color: var(--muted); font-size: 14px; margin-top: 2px; }
.cr__price { font-size: 22px; font-weight: 700; }
.cr__box { margin-top: 16px; padding: 16px; border-radius: 14px; background: #222224; }
.cr__label { font-size: 12px; font-weight: 600; color: var(--muted); }
.cr__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.cr__addr { font: 500 13px/1.4 ui-monospace, Consolas, monospace; color: #e5e5ea; word-break: break-all; }
.copy {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: #2f2f32; color: #d1d1d6; transition: background .15s, color .15s;
}
.copy:hover { background: #3a3a3c; }
.copy svg { width: 16px; height: 16px; }
.copy.is-copied { background: rgba(48, 209, 88, 0.18); color: var(--green); }
.cr__steps { margin-top: 18px; }
.cr__steps li { font-size: 14px; }
.cr__note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.cr .btn--block { margin-top: 18px; }

@media (max-width: 760px) {
  .cr { padding: 20px 18px; }
  .cr__title { font-size: 22px; }
}
.cr__intro { color: #a1a1a6; font-size: 14px; margin-top: 16px; }
.cr__msg { font: 500 14px/1.4 "Inter", sans-serif; }

@media (max-width: 420px) {
  .nav__panel { padding: 0 12px 0 10px; font-size: 13px; }
}

/* =========================================================
   Customer panel (dashboard)
   ========================================================= */
body.app { flex-direction: row; height: 100dvh; overflow: hidden; }

/* sidebar — macOS System Settings style */
.side {
  flex: none; width: 250px; height: 100%;
  display: flex; flex-direction: column;
  padding: 18px 12px 14px;
  background: #0c0c0d; border-right: 1px solid #1f1f21;
}
.side__brand { padding: 4px 10px 18px; }
.side__nav { display: flex; flex-direction: column; gap: 2px; }
.side__item {
  display: flex; align-items: center; gap: 11px;
  height: 38px; padding: 0 10px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: #c7c7cc;
  transition: background .15s, color .15s;
}
.side__item svg { width: 18px; height: 18px; color: #8e8e93; flex: none; transition: color .15s; }
.side__item:hover { background: #1a1a1c; color: var(--text); }
.side__item.is-active { background: rgba(48, 209, 88, 0.14); color: var(--text); }
.side__item.is-active svg { color: var(--green); }
.side__foot {
  margin-top: auto; padding: 12px 6px 0; border-top: 1px solid #1f1f21;
  display: flex; align-items: center; justify-content: space-between;
}
.side__back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); transition: color .2s; }
.side__back svg { width: 16px; height: 16px; }
.side__back:hover { color: var(--text); }
.side__foot .nav__discord { margin: 0; width: 34px; height: 34px; }
.side__foot .nav__discord svg { width: 22px; height: 22px; }

/* content */
.app__main { flex: 1; min-width: 0; height: 100%; overflow-y: auto; padding: 56px 48px 48px; }
.view { max-width: 760px; margin: 0 auto; animation: viewIn .35s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
.view__title { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; }
.view__sub { color: var(--muted); font-size: 16px; margin-top: 4px; margin-bottom: 26px; }
.view__hint { color: var(--muted); font-size: 13px; margin-top: 14px; }
.view__hint a, .steps-card a { color: var(--green); }
.view__hint a:hover, .steps-card a:hover { text-decoration: underline; }
.card { background: var(--card); border-radius: 18px; }

/* overview */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.stat-card { background: var(--card); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; }
.stat-card__label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat-card__value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.stat-card__value--green { color: var(--green); }
.stat-card__note { font-size: 13px; color: var(--muted); }
.quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.quick__card {
  display: flex; flex-direction: column; padding: 20px; border-radius: 18px; background: var(--card);
  border: 1.5px solid transparent; transition: background .2s, border-color .2s, transform .3s var(--ease);
}
.quick__card:hover { background: var(--card-hover); border-color: rgba(48, 209, 88, 0.45); transform: translateY(-2px); }
.quick__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(48, 209, 88, 0.14); color: var(--green); margin-bottom: 14px;
}
.quick__icon svg { width: 20px; height: 20px; }
.quick__title { font-size: 16px; font-weight: 600; }
.quick__desc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.gift-note {
  display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px 20px 14px 14px;
  background: rgba(48, 209, 88, 0.06); border: 1.5px dashed rgba(48, 209, 88, 0.45);
}
.gift-note__img { width: 52px; height: 52px; object-fit: contain; transform: rotate(-6deg); flex: none; }
.gift-note__title { font-size: 15px; font-weight: 600; }
.gift-note__desc { font-size: 13px; color: var(--muted); }

/* grouped list rows (like iOS Settings) */
.list { padding: 6px; }
.row-link { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .15s; }
.row-link + .row-link { border-top: 1px solid #262628; }
.row-link:hover { background: #232325; }
.row-link__icon {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(48, 209, 88, 0.14); color: var(--green);
}
.row-link__icon svg { width: 18px; height: 18px; }
.row-link__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-link__title { font-size: 15px; font-weight: 600; }
.row-link__desc { font-size: 13px; color: var(--muted); }
.row-link__go { color: #5a5a5e; display: grid; transition: color .15s, transform .15s var(--ease); }
.row-link__go svg { width: 18px; height: 18px; }
.row-link:hover .row-link__go { color: var(--green); transform: translateX(2px); }

/* products */
.product-row { display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; }
.product-row__img { width: 96px; height: 72px; object-fit: contain; border-radius: 12px; background: #222224; padding: 6px; flex: none; }
.product-row__info { flex: 1; min-width: 0; }
.product-row__name { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-row__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.product-row__actions { display: flex; gap: 8px; flex: none; }
.status {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  background: rgba(48, 209, 88, 0.14); color: var(--green); font-size: 12px; font-weight: 600;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.btn--soft { background: #2c2c2e; color: var(--text); }
.btn--soft:hover { background: #3a3a3c; filter: none; }
.empty { padding: 36px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.empty__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(48, 209, 88, 0.14); color: var(--green);
}
.empty__icon svg { width: 26px; height: 26px; }
.empty__title { font-size: 18px; font-weight: 600; margin-top: 14px; }
.empty__desc { font-size: 14px; color: var(--muted); max-width: 420px; margin-top: 4px; }
.empty__actions { display: flex; gap: 8px; margin-top: 18px; }

/* activate */
.steps-card { list-style: none; padding: 8px 20px; }
.steps-card li { display: flex; gap: 14px; padding: 14px 0; }
.steps-card li + li { border-top: 1px solid #262628; }
.steps-card li > span {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #00150a; font-size: 13px; font-weight: 700;
}
.steps-card__title { font-size: 15px; font-weight: 600; }
.steps-card__desc { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* downloads */
.download-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; }
.download-card__logo { width: 52px; height: 52px; object-fit: contain; padding: 8px; border-radius: 14px; background: #222224; flex: none; }
.download-card__info { flex: 1; min-width: 0; }
.download-card__name { font-size: 17px; font-weight: 600; }
.download-card__meta { font-size: 13px; color: var(--muted); }
.download-card .btn { gap: 8px; }
.download-card .btn svg { width: 18px; height: 18px; }
.checklist { list-style: none; margin-top: 12px; padding: 16px 20px; display: grid; gap: 10px; font-size: 14px; color: #d1d1d6; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.checklist svg { width: 16px; height: 16px; color: var(--green); flex: none; }

/* phones: sidebar becomes a top bar with scrollable tabs */
@media (max-width: 760px) {
  body.app { flex-direction: column; height: auto; min-height: 100dvh; overflow: visible; }
  .side { width: 100%; height: auto; padding: 12px 0 0; border-right: 0; border-bottom: 1px solid #1f1f21; position: sticky; top: 0; z-index: 5; }
  .side__brand { padding: 2px 16px 10px; }
  .side__nav { flex-direction: row; overflow-x: auto; gap: 4px; padding: 0 12px 10px; scrollbar-width: none; }
  .side__nav::-webkit-scrollbar { display: none; }
  .side__item { flex: none; height: 34px; padding: 0 12px; font-size: 13px; }
  .side__item svg { width: 16px; height: 16px; }
  .side__foot { display: none; }
  .app__main { height: auto; overflow: visible; padding: 24px 16px 32px; }
  .view__title { font-size: 26px; }
  .view__sub { margin-bottom: 18px; font-size: 15px; }
  .stats, .quick { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .stat-card__value { font-size: 22px; }
  .quick__card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 14px; }
  .quick__icon { margin-bottom: 0; grid-row: span 2; }
  .quick__desc { margin-top: 0; }
  .product-row { flex-wrap: wrap; }
  .product-row__actions { width: 100%; }
  .product-row__actions .btn { flex: 1; }
  .download-card { flex-wrap: wrap; }
  .download-card .btn { width: 100%; }
}

/* panel: test mode, key form, products, hwid, toast */
.test-banner {
  max-width: 760px; margin: 0 auto 24px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 159, 10, 0.1); color: #ffb340; font-size: 13px; line-height: 1.5;
}
.test-banner code { white-space: nowrap; font: 600 12px ui-monospace, Consolas, monospace; background: rgba(255, 159, 10, 0.14); padding: 1px 6px; border-radius: 5px; }
.redeem { padding: 20px; }
.redeem__label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.redeem__row { display: flex; gap: 10px; }
.redeem__input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 12px;
  background: #111113; border: 1.5px solid #2c2c2e; color: var(--text);
  font: 500 15px/1 ui-monospace, Consolas, monospace; letter-spacing: .04em; text-transform: uppercase;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
.redeem__input::placeholder { color: #4a4a4e; }
.redeem__input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.15); }
.redeem .btn { height: 46px; min-width: 120px; }
.redeem__msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.redeem__msg.is-ok { color: var(--green); }
.redeem__msg.is-error { color: #ff6961; }
.btn:disabled { opacity: .55; cursor: default; filter: none; }
.redeem + .checklist { margin-top: 12px; }

.product-list { display: grid; gap: 12px; }
.product-row__key { font: 500 12px ui-monospace, Consolas, monospace; color: #6e6e73; margin-top: 4px; letter-spacing: .03em; }
.status--off { background: rgba(255, 105, 97, 0.14); color: #ff6961; }
.status--off::before { background: #ff6961; }
.download-card + .steps-card { margin-top: 12px; }

.hwid-row { display: flex; align-items: center; gap: 14px; padding: 12px; }
.hwid-row + .hwid-row { border-top: 1px solid #262628; }
.hwid-row__key { font: 500 12px ui-monospace, Consolas, monospace; color: #6e6e73; margin-left: 6px; }
.hwid-row .btn { flex: none; min-width: 110px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  padding: 12px 18px; border-radius: 14px; max-width: calc(100% - 32px);
  background: #2c2c2e; color: var(--text); font-size: 14px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  animation: menuIn .25s var(--ease);
}

@media (max-width: 760px) {
  .test-banner { margin-bottom: 18px; }
  .redeem__row { flex-direction: column; }
  .redeem .btn { width: 100%; }
  .hwid-row { flex-wrap: wrap; }
  .hwid-row .btn { width: 100%; }
}

/* =========================================================
   Private stats page
   ========================================================= */
.private-pill {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 159, 10, 0.12); color: #ffb340; font-size: 13px; font-weight: 600;
}
.private-pill svg { width: 14px; height: 14px; }
.stats-page { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 24px 48px; }
.stats-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stats-embed { margin-top: 12px; padding: 18px 18px 8px; }
.stats-embed__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.stats-embed__title { font-size: 16px; font-weight: 600; }
.stats-embed__open { font-size: 13px; color: var(--green); }
.stats-embed__open:hover { text-decoration: underline; }
#plausibleFrame { width: 100%; height: 1600px; border: 0; border-radius: 12px; }
.stats-setup { padding: 8px 4px 16px; }
.stats-setup__title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.stats-setup ol { padding-left: 20px; display: grid; gap: 8px; font-size: 14px; color: #a1a1a6; }
.stats-setup strong { color: var(--text); font-weight: 600; }
.stats-setup code { font: 500 12px ui-monospace, Consolas, monospace; background: #222224; padding: 2px 6px; border-radius: 5px; color: #d1d1d6; word-break: break-all; }
@media (max-width: 760px) {
  .stats-page { padding: 16px 16px 32px; }
  .stats-links { grid-template-columns: minmax(0, 1fr); }
}

/* customer panel: "How your key works" */
.view__heading { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 12px; }
.steps-card__desc strong { color: var(--text); font-weight: 600; }

/* thank-you page: key shown after a card payment */
.dl__key { text-align: left; margin-top: 20px; }
.dl__keytext { font-size: 16px; letter-spacing: 0.04em; }
.dl__keynote { font-size: 12px; color: var(--muted); margin-top: 8px; }
.dl__keynote a { color: var(--green); }
.dl__keybtn { margin-top: 12px; }

/* ---------- Home: perks row (Tweaks included + free trial) ---------- */
.perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.perks .perk { margin-top: 0; }
.perk--trial {
  background: rgba(255, 255, 255, 0.07); color: var(--text);
  transition: background .2s, transform .2s var(--ease);
}
.perk--trial svg { color: var(--green); }
.perk--trial:hover { background: rgba(255, 255, 255, 0.12); }
.perk--trial:active { transform: scale(.97); }

/* ---------- Home: FAQ (below the store, native <details> accordion) ---------- */
.faq { width: 100%; max-width: 760px; margin: 28px auto 56px; padding: 0 24px; }
.faq__title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; text-align: center; margin-bottom: 18px; }
.faq__item { background: var(--card); border-radius: 16px; margin-bottom: 8px; transition: background .2s; }
.faq__item:hover, .faq__item[open] { background: var(--card-hover); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 20px; position: relative;
  font-weight: 600; font-size: 15px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.faq__item p b { color: var(--text); font-weight: 600; }
.faq__item a { color: var(--green); }
.faq__item a:hover { text-decoration: underline; }
@media (max-width: 700px) {
  .faq { padding: 0 16px; margin-top: 18px; }
  .faq__title { font-size: 24px; }
}

/* ---------- 404 ---------- */
.lost { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; }
.lost__code { font-size: 72px; font-weight: 700; letter-spacing: -0.04em; color: var(--green); line-height: 1; }
.lost__text { color: var(--muted); }
.lost .btn { margin-top: 12px; }
