/* Store + Account pages (loaded after site.css). */

.page { padding: 140px 0 100px; min-height: 80vh; }
.page h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -.035em; margin: 0 0 18px; }
.page .lead { margin-bottom: 28px; }
.page h2 { font-size: clamp(22px, 3vw, 30px); margin: 64px 0 20px; }


.notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 14px; margin-bottom: 20px;
}
.notice strong { color: var(--text); }
.notice.good { border-color: #2f5d3a; background: #0f1a12; }
.notice.good strong { color: #7ee2a0; }
.notice.bad { border-color: #5d2f2f; background: #1a0f0f; }
.notice.bad strong { color: #ff8a8a; }
.notice[hidden] { display: none; }

/* Whitelist: the main product */
.wl {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
  border: 1px solid var(--line-2); border-radius: 22px; padding: 36px;
  background: radial-gradient(120% 140% at 100% 0%, #1d1d1d 0%, var(--panel) 55%);
}
.wl h3 { font-size: 26px; margin-bottom: 8px; }
.wl ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 15px; }
.wl li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: 12px; vertical-align: middle; }
.buy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.price { font-family: var(--head); font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.price .soon { font-size: 18px; color: var(--muted); letter-spacing: -.01em; }

/* Priority tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { display: flex; flex-direction: column; gap: 12px; }
.tier .lvl { display: flex; align-items: center; justify-content: space-between; }
.tier .badge { font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 3px 10px; }
.tier .bar { display: flex; gap: 4px; }
.tier .bar i { width: 14px; height: 6px; border-radius: 3px; background: var(--line-2); }
.tier .bar i.on { background: var(--tier, #fff); }
.tier .price { font-size: 28px; }
.tier .btn { margin-top: auto; justify-content: center; }
.tier.owned { border-color: #2f5d3a; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.explain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.explain .card { padding: 22px; }

/* Account */
.acct-head { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; }
.acct-head img { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-2); }
.acct-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.acct-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.acct-grid .card { display: flex; flex-direction: column; gap: 10px; }
.acct-grid .card .btn { align-self: flex-start; margin-top: 6px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.pill.yes { border-color: #2f5d3a; color: #7ee2a0; }
.pill.no { border-color: #5d2f2f; color: #ff8a8a; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.center-box { max-width: 520px; margin: 0 auto; text-align: center; }
.center-box .btn { margin-top: 12px; }

@media (max-width: 960px) {
  .wl { grid-template-columns: 1fr; padding: 28px; }
  .tiers, .explain { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .page { padding: 110px 0 70px; }
  .wl { padding: 22px; }
  .tiers, .explain, .acct-grid { grid-template-columns: 1fr; }
  .buy, .buy .btn { width: 100%; }
  .buy .btn { justify-content: center; }
}

button.btn { font-family: inherit; cursor: pointer; }
button.btn.ghost { color: var(--text); }

/* Cart bar (store) */
.cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(16, 16, 16, .94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2);
}
.cart-bar[hidden] { display: none; }
.cart-inner { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.cart-items { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.cart-items .pill { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.cart-items .pill button { background: none; border: 0; color: var(--muted); font: inherit; font-size: 15px; line-height: 1; cursor: pointer; padding: 0 0 0 2px; }
.cart-items .pill button:hover { color: var(--text); }
.cart-total { font-size: 15px; white-space: nowrap; }
.cart-actions { display: flex; gap: 8px; }
body.has-cart .footer { padding-bottom: 110px; }
@media (max-width: 760px) {
  .cart-inner { flex-wrap: wrap; gap: 10px; }
  .cart-items { flex-basis: 100%; }
  .cart-total { flex: 1; white-space: normal; }
}

/* Elements hidden from script stay hidden even when a .btn rule sets display. */
[hidden] { display: none !important; }
