@charset "UTF-8";

/* ==========================================================================
   CIBHER — shop page

   Standalone, like legal.css: the shop does NOT load Bootstrap, the generated
   theme CSS, the dropdown plugin or mbr-additional. (The icon font and the
   parallax plugin it also used to load have since been deleted site-wide.)
   That stack was ~220 KB and its only visible contribution to this page was
   the `body { background: #000000 }` rule in mbr-additional.css, which is what
   made every colour on the page fail contrast.

   Design tokens come from tokens.css, linked before this file. Legibility-
   critical declarations carry literal fallbacks so the purchase page stays
   readable if that file fails to load.

   var(--c-on-accent, #04140e) is the on-accent foreground, matching legal.css. It is the only
   literal colour here that is not a token.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-bg, #03120c);
  color: var(--c-text, #eef2ec);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

code, kbd, samp, pre {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}

a { color: var(--c-accent-2, #2ad795); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--c-text, #eef2ec); }

/* The offset is load-bearing. --c-accent-2 against the --c-accent button face
   is 1.55:1; pushing the ring 3px clear puts it on --c-surface-1 at 9.44:1.
   Do not tidy it away. */
:focus-visible {
  outline: 2px solid var(--c-accent-2, #2ad795);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- navbar ---------- */

.shop-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-navbar, 50);
  background: rgba(3, 18, 12, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line, rgba(255, 255, 255, .08));
}

.shop-nav .bar {
  max-width: 78rem;
  margin: 0 auto;
  padding: var(--s-3) var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.shop-nav .brand {
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--c-text, #eef2ec);
  text-decoration: none;
  font-size: 1.05rem;
}

.lang-switch {
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: .8125rem;
}

.lang-switch a {
  display: block;
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  text-decoration: none;
  padding: .2rem .55rem;
  border: 1px solid var(--c-line, rgba(255, 255, 255, .08));
  border-radius: var(--r-pill, 999px);
}

.lang-switch a:hover { color: var(--c-accent-2, #2ad795); }

.lang-switch a[aria-current="page"] {
  color: var(--c-on-accent, #04140e);
  background: var(--c-accent, #20ac7d);
  border-color: var(--c-accent, #20ac7d);
  font-weight: 700;
}

/* ---------- hero ---------- */

.shop-hero {
  padding: var(--s-8) var(--s-4) var(--s-7);
  text-align: center;
  color: var(--c-text, #eef2ec);
}

.shop-hero h1 {
  font-size: var(--t-h1);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
}

.shop-hero p {
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  max-width: 42rem;
  margin: var(--s-4) auto 0;
}

.shop-hero strong { color: var(--c-text, #eef2ec); font-weight: 800; }

/* Pre-contractual price disclosure. Present in the HTML, not rendered by JS,
   so it survives a blocked Paddle or JavaScript being off entirely. */
/* Pre-availability notice (added 2026-09-04).
   STATUS.md section 4: a surface that cannot carry a status marker must not
   carry the claim, and "no product surface may state the property the unbuilt
   control would provide". The storefront described a shipping product in the
   present tense and its only build-state disclosures were two sentences buried
   in the privacy pages. The buy buttons already disable themselves when the
   live price map is empty; this says WHY, which is the half a visitor needs. */
.shop-availability {
  max-width: 62ch;
  margin: var(--s-4) auto var(--s-5);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--c-line-strong, rgba(255, 255, 255, .16));
  border-left-width: 3px;
  border-radius: var(--r-md, 10px);
  background: var(--c-surface-1, #051d14);
  color: var(--c-text, #eef2ec);
  font-size: var(--t-ui, .95rem);
  text-align: left;
}

.shop-price-floor {
  display: inline-block;
  margin: var(--s-5) auto 0;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-line-strong, rgba(255, 255, 255, .16));
  border-radius: var(--r-pill, 999px);
  background: var(--c-surface-1, #051d14);
  color: var(--c-text, #eef2ec);
  font-size: var(--t-ui, .95rem);
  font-weight: 700;
}

/* The pill quotes the NET floor; the cards below quote what a buyer actually
   pays, which carries VAT and therefore reads higher. Marking the pill is what
   stops the two figures looking like a contradiction. */
.vat-note {
  font-weight: 400;
  font-size: .85em;
  opacity: .75;
}

.shop-noscript {
  display: block;
  max-width: 42rem;
  margin: var(--s-4) auto 0;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--c-line-strong, rgba(255, 255, 255, .16));
  border-radius: var(--r-sm, 10px);
  background: var(--c-surface-1, #051d14);
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  font-size: var(--t-ui, .95rem);
}

/* ---------- grid and cards ---------- */

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-5);
  max-width: 1200px;
  margin: var(--s-6) auto var(--s-8);
  padding: 0 var(--s-4);
}

.shop-card {
  border: 1px solid var(--c-line, rgba(255, 255, 255, .08));
  border-radius: var(--r-md, 14px);
  padding: var(--s-6) var(--s-5);
  background: var(--c-surface-1, #051d14);
  display: flex;
  flex-direction: column;
  transition: transform var(--d-base) var(--ease),
              box-shadow var(--d-base) var(--ease),
              border-color var(--d-base) var(--ease);
}

.shop-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
  border-color: var(--c-line-strong, rgba(255, 255, 255, .16));
}

.shop-card.featured {
  border-color: var(--c-accent, #20ac7d);
  box-shadow: var(--sh-accent);
}

.badge-featured {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--c-accent, #20ac7d);
  color: var(--c-on-accent, #04140e);
  padding: .2rem .55rem;
  border-radius: var(--r-pill, 999px);
  margin-bottom: var(--s-3);
  align-self: flex-start;
  line-height: 1.6;
}

.shop-card h3 {
  font-size: var(--t-h3);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 var(--s-1);
}

.shop-card .tier-tagline {
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  font-size: var(--t-ui, .95rem);
  line-height: 1.5;
  min-height: 4.2rem;
  margin: 0 0 var(--s-4);
}

.shop-card .price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--c-text, #eef2ec);
  line-height: 1.1;
  margin-bottom: var(--s-1);
}

/* The fallback is a sentence, not a placeholder shaped like a price. */
.shop-card .price-unavailable {
  display: block;
  font-size: var(--t-meta, .85rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
}

.shop-card .price-meta {
  font-size: var(--t-meta, .85rem);
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  margin-bottom: var(--s-5);
}

.shop-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  font-size: var(--t-ui, .95rem);
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
}

.shop-card li { padding: var(--s-1) 0; line-height: 1.5; }
.shop-card li::before { content: "\2713\00a0"; color: var(--c-accent, #20ac7d); font-weight: 700; }

.price-skeleton {
  display: inline-block;
  width: 6rem;
  height: 1.6rem;
  background: linear-gradient(90deg,
              var(--c-surface-1, #051d14) 0%,
              var(--c-surface-2, #053827) 50%,
              var(--c-surface-1, #051d14) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite linear;
  border-radius: var(--r-xs, 6px);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .price-skeleton { animation: none; background: var(--c-surface-2, #053827); }
  .shop-card { transition: none; }
  .shop-card:hover { transform: none; }
}

/* ---------- buy button ---------- */

.buy-btn {
  margin-top: auto;
  display: inline-block;
  width: 100%;
  text-align: center;
  border: none;
  background: var(--c-accent, #20ac7d);
  color: var(--c-on-accent, #04140e);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm, 10px);
  font-family: inherit;
  font-size: var(--t-ui, .95rem);
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  transition: background var(--d-fast) var(--ease);
}

.buy-btn:hover { background: var(--c-accent-2, #2ad795); }
.buy-btn:disabled { opacity: .55; cursor: wait; }

@media (prefers-reduced-motion: reduce) {
  .buy-btn { transition: none; }
}

/* ---------- error states ---------- */

.buy-error {
  margin: var(--s-3) 0 0;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-xs, 6px);
  background: var(--c-danger-surface, rgba(255, 107, 107, .10));
  color: var(--c-danger, #ff6b6b);
  font-size: var(--t-meta, .85rem);
  line-height: 1.5;
  text-align: left;
}

.buy-error a { color: var(--c-danger, #ff6b6b); }

.shop-unavailable {
  grid-column: 1 / -1;
  text-align: center;
  margin: 0;
  padding: var(--s-5);
  border: 1px solid var(--c-danger, #ff6b6b);
  border-radius: var(--r-md, 14px);
  background: var(--c-danger-surface, rgba(255, 107, 107, .10));
  color: var(--c-danger, #ff6b6b);
}

.shop-unavailable a { color: var(--c-danger, #ff6b6b); }

/* ---------- withdrawal notice ---------- */

.shop-withdrawal {
  max-width: 56rem;
  margin: 0 auto var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--c-line-strong, rgba(255, 255, 255, .16));
  border-left: 3px solid var(--c-accent, #20ac7d);
  border-radius: var(--r-sm, 10px);
  background: var(--c-surface-1, #051d14);
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  font-size: var(--t-ui, .95rem);
  text-align: left;
}

.shop-withdrawal strong { color: var(--c-text, #eef2ec); font-weight: 800; }

/* ---------- footer note ---------- */

.shop-footer-note {
  text-align: center;
  color: var(--c-text-dim, rgba(238, 242, 236, .66));
  font-size: var(--t-ui, .95rem);
  max-width: 56rem;
  margin: 0 auto var(--s-8);
  padding: 0 var(--s-4);
}

.shop-footer-note.tight { margin-bottom: var(--s-5); }

.shop-footer-note strong { color: var(--c-text, #eef2ec); font-weight: 800; }
.shop-footer-note a { color: var(--c-accent-2, #2ad795); }
.shop-footer-note a:hover { color: var(--c-text, #eef2ec); }

