/*
Theme Name: LastResort DEV
Theme URI: https://intelnpc.com
Author: Last Resort Development
Description: Dark storefront theme for the LastResort FiveM script studio with Tebex Headless sync and embedded Tebex.js checkout.
Version: 1.7.3
Requires PHP: 7.4
Text Domain: lastresort
*/

/* Self-hosted so no request leaves the visitor's browser for a third-party font host. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --night: #09080f;
  --panel: #100f19;
  --panel-2: #16151f;
  --line: rgba(236, 236, 246, 0.08);
  --ink: #f2f2f7;
  --mist: #a7a7b6;
  --dim: #6c6c7e;
  --pink: #ff4fa3;
  --pink-soft: #ffd1e7;
  --vi-indigo: #5b4be0;
  --vi-violet: #a23fd0;
  --vi-pink: #ff4fa3;
  --vi-coral: #ff7a59;
  --vi-orange: #ff8a4a;
  --vi-gold: #ffc857;
  --vi-plum: #2a0a45;
  --vi-ink-on: #1d0630;
  --vi-grad: linear-gradient(180deg, var(--vi-indigo) 0%, var(--vi-violet) 28%, var(--vi-pink) 56%, var(--vi-orange) 80%, var(--vi-gold) 100%);
  --vi-grad-h: linear-gradient(90deg, var(--vi-indigo), var(--vi-violet), var(--vi-pink), var(--vi-orange), var(--vi-gold));
  --vi-grad-btn: linear-gradient(135deg, #ff4fa3 0%, #ff7a59 55%, #ffb347 100%);
  --vi-grad-text: linear-gradient(90deg, #ff4fa3 0%, #ff8a4a 55%, #ffc857 100%);
  --vi-glow: 0 0 0 1px rgba(255, 79, 163, 0.22), 0 14px 44px -14px rgba(255, 79, 163, 0.6), 0 0 90px -24px rgba(91, 75, 224, 0.75);
  --good: #3ddc97;
  --warn: #ffb454;
  --bad: #ff5c5c;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h, 3.75rem) + 0.75rem); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(255, 79, 163, 0.35); color: #fff; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 6px; }

.wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.section { padding-top: 3.5rem; padding-bottom: 3.5rem; }

.section-tight { padding-top: 3rem; padding-bottom: 3rem; }

.relative { position: relative; }

.wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(162, 63, 208, 0.16), transparent 70%),
    radial-gradient(40% 40% at 88% 8%, rgba(255, 79, 163, 0.12), transparent 70%),
    radial-gradient(38% 38% at 12% 18%, rgba(91, 75, 224, 0.14), transparent 70%);
}

.wash ~ * { position: relative; }

h1, h2, h3, .font-display { font-family: var(--font-display); }

.h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

.h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: -0.01em; margin-top: 0.75rem; }

.h3 { font-size: 1.1rem; font-weight: 600; }

.accent { color: var(--pink); background: var(--vi-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.muted { color: var(--mist); }

.dimmed { color: var(--dim); }

.lead { font-size: 1.1rem; line-height: 1.7; color: var(--mist); max-width: 40rem; margin-top: 1.25rem; }

.sub { color: var(--mist); max-width: 42rem; margin-top: 0.8rem; line-height: 1.7; }

.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
}

.eyebrow::before { content: ""; flex: 0 0 auto; width: 1.4rem; height: 2px; border-radius: 2px; background: var(--vi-grad-h); }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 0.7rem;
  padding: 0.6rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  background: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.12s ease, filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn svg { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }

.btn { max-width: 100%; }

.btn:active { transform: translateY(1px); }

.btn:disabled:not(.is-busy),
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.5; transform: none; filter: none; box-shadow: none; }

.btn.is-busy { pointer-events: none; cursor: progress; opacity: 1; transform: none; }

.btn.is-busy > * { visibility: hidden; }

.btn.is-busy::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.05rem;
  height: 1.05rem;
  margin: -0.525rem 0 0 -0.525rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: gvf-spin 0.7s linear infinite;
}

@keyframes gvf-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn.is-busy::after { animation-duration: 2s; }
}

.btn-primary { background: var(--vi-grad-btn); border-color: transparent; color: var(--vi-ink-on); box-shadow: 0 10px 30px -14px rgba(255, 79, 163, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.btn-primary:hover:not(:disabled):not(.btn-done) { filter: brightness(1.07) saturate(1.08); box-shadow: 0 14px 34px -14px rgba(255, 122, 89, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4); }

.btn-ghost {
  color: var(--ink);
  border-color: rgba(236, 236, 246, 0.24);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover:not(:disabled) { border-color: rgba(255, 79, 163, 0.6); background: rgba(255, 79, 163, 0.1); }

.btn-done, .btn-done:hover { background: var(--good); border-color: var(--good); color: #04180f; box-shadow: none; }

.btn-sm { min-height: 2.375rem; padding: 0.42rem 0.95rem; font-size: 0.85rem; border-radius: 0.6rem; }

.btn-sm svg { width: 0.95rem; height: 0.95rem; }

.btn-block { width: 100%; white-space: normal; }

.btn-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mist);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.btn-icon svg { width: 1.15rem; height: 1.15rem; }

.btn-icon:hover { color: var(--ink); border-color: rgba(236, 236, 246, 0.3); background: rgba(255, 255, 255, 0.07); }

.btn-icon:active { transform: translateY(1px); }

.btn-icon:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-icon:disabled:hover { color: var(--mist); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }

.linkish {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0.35rem 0;
  border: 0;
  touch-action: manipulation;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.linkish svg { width: 0.85rem; height: 0.85rem; }

.linkish:hover { color: var(--mist); }

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: -5rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  border-radius: 0.6rem;
  background: var(--pink);
  color: #1d0630;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  transition: top 0.15s ease;
}

.skip-link:focus { top: 0.75rem; }

main:focus { outline: none; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card-hover:hover { border-color: rgba(255, 79, 163, 0.45); background: var(--panel-2); box-shadow: 0 0 46px -20px rgba(255, 79, 163, 0.55), 0 18px 40px -30px rgba(91, 75, 224, 0.7); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  text-transform: lowercase;
}

a.tag {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a.tag:hover { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.45); background: rgba(255, 79, 163, 0.08); }

.tag-accent {
  color: var(--pink-soft);
  border-color: rgba(255, 79, 163, 0.4);
  background: rgba(255, 79, 163, 0.08);
  text-transform: none;
}

.tag-delivery { gap: 0.3rem; }

.tag-delivery svg { width: 0.75rem; height: 0.75rem; }

.tag-delivery-open { color: var(--good); border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.07); }

.tag-delivery-escrow { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.4); background: rgba(255, 79, 163, 0.08); }

.tag-delivery-mixed { color: var(--warn); border-color: rgba(255, 180, 84, 0.32); background: rgba(255, 180, 84, 0.06); }

.card-delivery { margin-top: 0.9rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.pill-sale {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--vi-ink-on);
  background: var(--vi-grad-btn);
  box-shadow: 0 4px 12px -4px rgba(255, 122, 89, 0.6);
}

.price { font-family: var(--font-mono); font-weight: 700; }

.price-lg { font-size: 2.2rem; }

.price-md { font-size: 1.5rem; }

.price-sm { font-size: 1.1rem; }

.price-old { font-family: var(--font-mono); color: var(--dim); text-decoration: line-through; font-weight: 400; font-size: 0.8em; }

.price-row { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; }

.price-free { color: var(--vi-gold); }

.terminal {
  background: #0c0c12;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  color: var(--dim);
  font-size: 0.7rem;
}

.terminal-dot { width: 9px; height: 9px; border-radius: 999px; background: rgba(236, 236, 246, 0.14); }

.terminal-bar span:last-child { margin-left: 0.4rem; }

.terminal-body { padding: 0.9rem 1rem 1rem; color: var(--mist); overflow-x: auto; }

.terminal-body .t-cmd { color: var(--ink); }

.terminal-body .t-cmd::before { content: "> "; color: var(--pink); }

.terminal-body .t-ok { color: var(--good); }

.hairline { height: 1px; background: var(--line); border: 0; }

.announce {
  background: linear-gradient(90deg, rgba(255, 79, 163, 0.16), rgba(255, 79, 163, 0.06));
  border-bottom: 1px solid rgba(255, 79, 163, 0.3);
}

.announce-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--ink);
  text-align: center;
}

.announce a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.announce-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--pink-soft); }

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-head-in {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: space-between;
  min-height: max(3.75rem, var(--head-h, 3.75rem));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 0 1 auto;
  font-family: var(--font-display);
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.wordmark-img { width: auto; height: var(--logo-h, 2rem); max-width: min(52vw, 11rem); object-fit: contain; }

.wordmark-footer .wordmark-img { height: calc(var(--logo-h, 2rem) * 1.15); }

.drawer-head .wordmark-img { height: min(var(--logo-h, 2rem), 2.25rem); }

.wordmark-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.wordmark-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--vi-grad-btn);
  color: var(--vi-ink-on);
  font-size: 0.85rem;
  font-weight: 700;
}

.nav-desktop { display: none; align-items: center; gap: 1.4rem; }

.nav-desktop a { position: relative; font-size: 0.9rem; color: var(--mist); transition: color 0.15s; }

.nav-desktop a:hover { color: var(--ink); }

.nav-desktop a.current { color: var(--ink); }

.nav-desktop a.current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  border-radius: 2px;
  background: var(--vi-grad-h);
}

.head-actions { display: flex; align-items: center; gap: 0.5rem; flex: 0 0 auto; }

.head-actions .btn-sm, .head-actions .btn-icon { min-height: 2.5rem; height: 2.5rem; border-radius: 0.65rem; }

.head-discord { display: none; }

.basket-btn { position: relative; overflow: visible; }

.basket-label { display: none; }

.basket-count {
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--night);
  border: 2px solid var(--night);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
}

.basket-count.on { display: inline-flex; }

body.gvf-locked { overflow: hidden; }

/* Slide-in panels: mobile menu and basket ------------------------------------ */

.drawer { position: fixed; inset: 0; z-index: 140; display: flex; pointer-events: none; height: 100%; height: 100dvh; }

.drawer.open { pointer-events: auto; }

.drawer[hidden] { display: none; }

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer.open .drawer-scrim { opacity: 1; }

.drawer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  width: min(23rem, calc(100% - 3rem));
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background: linear-gradient(180deg, #15151f 0%, #0b0b11 55%, var(--night) 100%);
  border-left: 1px solid rgba(255, 79, 163, 0.18);
  box-shadow: -40px 0 80px -40px rgba(0, 0, 0, 0.95);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.drawer.open .drawer-panel { transform: none; }

.drawer-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 14rem;
  pointer-events: none;
  background: radial-gradient(90% 100% at 60% 0%, rgba(255, 79, 163, 0.2), transparent 72%);
}

@media (prefers-reduced-motion: reduce) {
  .drawer-scrim, .drawer-panel { transition: none; }
}

.drawer-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(0.9rem + env(safe-area-inset-top)) 1.05rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.drawer-title { display: flex; align-items: center; gap: 0.55rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }

.drawer-title svg { width: 1.1rem; height: 1.1rem; color: var(--pink); }

.drawer-close { flex: 0 0 auto; }

.nav-drawer-links {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.7rem 0.8rem 1rem;
}

.nav-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.25rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nav-drawer-link + .nav-drawer-link { margin-top: 0.2rem; }

.nav-drawer-link:hover, .nav-drawer-link:active { background: rgba(255, 255, 255, 0.05); border-color: var(--line); }

.nav-drawer-link.current { background: rgba(255, 79, 163, 0.1); border-color: rgba(255, 79, 163, 0.35); color: #fff; }

.nav-drawer-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--pink);
}

.nav-drawer-ico svg { width: 1.05rem; height: 1.05rem; }

.nav-drawer-link.current .nav-drawer-ico { background: rgba(255, 79, 163, 0.16); border-color: rgba(255, 79, 163, 0.4); }

.nav-drawer-label { flex: 1 1 auto; min-width: 0; }

.nav-drawer-chev { width: 1rem; height: 1rem; flex: 0 0 auto; color: var(--dim); }

.nav-drawer-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.05rem calc(1.05rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.6);
}

.nav-drawer-foot .basket-label { display: inline; }

.nav-drawer-foot .basket-count { position: static; margin-left: 0.15rem; border: 0; }

.nav-drawer-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--dim); text-align: center; }

.basket-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 1rem 1.05rem;
}

.basket-empty { font-size: 0.88rem; color: var(--mist); line-height: 1.6; }

.basket-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.basket-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--panel);
}

.basket-item img { flex: 0 0 auto; width: 3.75rem; height: 2.25rem; border-radius: 0.45rem; border: 1px solid var(--line); object-fit: cover; }

.basket-item-main { flex: 1 1 auto; min-width: 0; }

.basket-item-name { display: block; font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.basket-item-meta { display: block; margin-top: 0.1rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); }

.basket-remove { width: 2.1rem; height: 2.1rem; border-radius: 0.55rem; }

.basket-remove svg { width: 0.95rem; height: 0.95rem; }

.basket-remove:hover { color: var(--bad); border-color: rgba(255, 92, 92, 0.4); background: rgba(255, 92, 92, 0.1); }

.basket-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1.05rem calc(1.05rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 12, 0.72);
}

.basket-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-size: 0.88rem; color: var(--mist); }

.basket-note { display: flex; gap: 0.5rem; font-size: 0.71rem; color: var(--dim); line-height: 1.5; }

.basket-note svg { flex: 0 0 auto; width: 0.9rem; height: 0.9rem; color: var(--pink); margin-top: 0.15rem; }

.basket-total-note { font-family: var(--font-mono); font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; }

.basket-auth { display: flex; flex-direction: column; gap: 0.45rem; padding: 0.75rem; border: 1px solid rgba(255, 180, 84, 0.3); background: rgba(255, 180, 84, 0.06); border-radius: 0.7rem; }

.basket-auth-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warn);
  line-height: 1.4;
}

.basket-auth-title svg { flex: 0 0 auto; width: 0.95rem; height: 0.95rem; }

.basket-auth-text { font-size: 0.78rem; color: var(--mist); line-height: 1.6; }

.basket-auth-links { display: flex; flex-direction: column; gap: 0.4rem; }

.announce-in { position: relative; }

.announce-text { flex: 0 1 auto; }

.announce-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  color: var(--mist);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.announce-close svg { width: 0.9rem; height: 0.9rem; }

.announce-close:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }

.bcard-items-label {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.bcard-items-label + .bcard-items { margin-top: 0.6rem; padding-top: 0; border-top: 0; }

.bcard-cta { margin-top: 1rem; align-self: flex-start; pointer-events: none; }

.bcard:hover .bcard-cta { border-color: rgba(255, 79, 163, 0.45); color: var(--pink-soft); }

.price-cycle { margin-left: 0.35rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--mist); }

.tiercard-note { display: flex; align-items: flex-start; gap: 0.5rem; }

.tiercard-note svg { flex: 0 0 auto; width: 0.9rem; height: 0.9rem; color: var(--pink); margin-top: 0.2rem; }

/* Comfortable touch targets on phones ---------------------------------------- */

@media (pointer: coarse) {
  .btn-sm { min-height: 2.75rem; }
  .head-actions .btn-sm, .head-actions .btn-icon { min-height: 2.75rem; height: 2.75rem; }
  .btn-icon { width: 2.75rem; height: 2.75rem; }
  .basket-remove { width: 2.75rem; height: 2.75rem; }
  .filter-chips .tag { min-height: 2.75rem; }
  a.tag { min-height: 2.25rem; padding: 0.4rem 0.7rem; }
  .tags { gap: 0.5rem; }
  .announce-close { width: 2.5rem; height: 2.5rem; }
}

@media (max-width: 1023px) {
  body.gvf-has-buybar .site-footer { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}

/* Embedded checkout ---------------------------------------------------------- */

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  pointer-events: none;
  height: 100%;
  height: 100dvh;
}

.checkout-modal.open { pointer-events: auto; }

.checkout-modal[hidden] { display: none; }

.checkout-modal-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: 34rem;
  max-height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--night);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95);
  opacity: 0;
  transform: translateY(2%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.checkout-modal.open .checkout-modal-panel { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .checkout-modal-panel { transition: none; }
}

.checkout-modal-body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: var(--panel);
}

.checkout-modal-body::before {
  content: "Loading the secure payment sheet\2026";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

.checkout-modal-body iframe {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

@media (max-width: 39.99rem) {
  .checkout-modal-panel { padding-bottom: env(safe-area-inset-bottom); }
}

@media (min-width: 640px) {
  .checkout-modal { padding: 1.5rem; }
  .checkout-modal-panel { height: min(46rem, 100%); height: min(46rem, calc(100dvh - 3rem)); border-radius: 1rem; }
}

/* Cookie notice -------------------------------------------------------------- */

.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookiebar[hidden] { display: none; }

.cookiebar-panel {
  pointer-events: auto;
  width: min(44rem, 100%);
  max-height: min(85vh, 36rem);
  overflow: hidden;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 79, 163, 0.28);
  background: var(--panel);
  box-shadow: 0 30px 70px -35px rgba(0, 0, 0, 0.95);
  transform: translateY(130%);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.cookiebar.on .cookiebar-panel { transform: none; }

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

.cookiebar-panel { position: relative; }

.cookiebar-panel { max-height: min(85vh, 36rem); max-height: min(85dvh, 36rem); }

.cookiebar-dismiss { position: absolute; top: 0.6rem; right: 0.6rem; width: 2.25rem; height: 2.25rem; }

.cookiebar-dismiss svg { width: 1rem; height: 1rem; }

.cookiebar-main { display: flex; gap: 0.85rem; padding-right: 2rem; }

.cookiebar-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 79, 163, 0.3);
  background: rgba(255, 79, 163, 0.1);
  color: var(--pink);
}

.cookiebar-ico svg { width: 1.2rem; height: 1.2rem; }

.cookiebar-title { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }

.cookiebar-text { margin-top: 0.25rem; font-size: 0.82rem; color: var(--mist); line-height: 1.6; }

.cookiebar-text a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.cookiebar-main { flex: 0 0 auto; }

.cookiebar-options { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-top: 0.9rem; }

.cookiebar-customise { flex: 0 0 auto; margin-top: 0.85rem; align-self: flex-start; font-size: 0.8rem; color: var(--mist); }

.cookiebar-customise:hover { color: var(--ink); }

.cookiebar-option { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.7rem 0; border-top: 1px solid var(--line); cursor: pointer; }

.cookiebar-option.is-locked { cursor: default; opacity: 0.8; }

.cookiebar-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.cookiebar-switch {
  position: relative;
  flex: 0 0 auto;
  width: 2.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.cookiebar-switch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.15rem;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: -0.475rem;
  border-radius: 999px;
  background: var(--mist);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.cookiebar-option input:checked + .cookiebar-switch { background: rgba(255, 79, 163, 0.3); border-color: rgba(255, 79, 163, 0.5); }

.cookiebar-option input:checked + .cookiebar-switch::after { transform: translateX(0.95rem); background: var(--pink); }

.cookiebar-option input:focus-visible + .cookiebar-switch { outline: 2px solid var(--pink); outline-offset: 2px; }

.cookiebar-option-label { display: block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 600; }

.cookiebar-option-text { display: block; margin-top: 0.1rem; font-size: 0.76rem; color: var(--dim); line-height: 1.5; }

.cookiebar-actions { display: flex; flex: 0 0 auto; gap: 0.5rem; margin-top: 0.7rem; }

.cookiebar-actions .btn { flex: 1 1 0; }

.btn-neutral { background: rgba(236, 236, 246, 0.14); border-color: rgba(236, 236, 246, 0.28); color: var(--ink); }

.btn-neutral:hover:not(:disabled) { background: rgba(236, 236, 246, 0.2); border-color: rgba(236, 236, 246, 0.4); }


body.cookiebar-open .toast { bottom: auto; top: calc(0.75rem + env(safe-area-inset-top)); z-index: 170; }

/* While a panel is open the toast drops below its header instead of covering the close button. */
body.gvf-locked .toast { bottom: auto; top: calc(4.75rem + env(safe-area-inset-top)); z-index: 170; }

.cookiebar-save { flex: 0 0 auto; margin-top: 0.7rem; }

body.cookiebar-open .buybar { transform: translateY(120%); }

/* Solid, not tinted: the flag sits on a screenshot and has to read at a glance. */
.pcard-featured { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.28rem 0.55rem; border-radius: 999px; background: var(--pink); color: #1d0630; font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; box-shadow: 0 4px 14px rgba(255, 79, 163, 0.45); }

.pcard-featured svg { width: 0.7rem; height: 0.7rem; }

/* And the card itself is lifted out of the grid, so the eye finds it before the flag. */
.pcard.is-featured { border-color: rgba(255, 79, 163, 0.45); box-shadow: 0 0 0 1px rgba(255, 79, 163, 0.18), 0 18px 44px rgba(255, 79, 163, 0.14); }

.pcard.is-featured:hover { border-color: rgba(255, 79, 163, 0.7); }

/* Review wall ---------------------------------------------------------------- */

.rwall { position: relative; min-width: 0; }

.rwall-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.rcard-glow {
  position: relative;
  flex: 0 0 clamp(15rem, 78vw, 20rem);
  scroll-snap-align: start;
  margin: 0;
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(255, 79, 163, 0.24);
  border-radius: 0.9rem;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(255, 79, 163, 0.14), transparent 62%),
    var(--panel);
  box-shadow: 0 18px 45px -30px rgba(255, 79, 163, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.rcard-glow:hover { border-color: rgba(255, 79, 163, 0.5); box-shadow: 0 22px 55px -26px rgba(255, 79, 163, 0.95); transform: translateY(-2px); }

.rcard-stars { display: flex; gap: 0.12rem; color: var(--pink); }

.rcard-stars svg { width: 0.82rem; height: 0.82rem; filter: drop-shadow(0 0 6px rgba(255, 79, 163, 0.6)); }

.rcard-glow blockquote { margin: 0.6rem 0 0; font-size: 0.88rem; line-height: 1.62; color: var(--ink); }

.rcard-glow figcaption { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }

.rcard-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 79, 163, 0.35);
  background: rgba(255, 79, 163, 0.12);
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
}

.rcard-who { min-width: 0; }

.rcard-name { display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; }

.rcard-meta { display: block; margin-top: 0.05rem; font-family: var(--font-mono); font-size: 0.68rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hero-side-featured { display: block; }

.grid { display: grid; gap: 1rem; }

.grid-tight { display: grid; gap: 0.8rem; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }

.link-accent { color: var(--pink); font-size: 0.9rem; }

.link-accent:hover { text-decoration: underline; }

.pcard { display: flex; flex-direction: column; overflow: hidden; }

.pcard-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }

.pcard:hover .pcard-media img { transform: scale(1.03); }

.pcard-flags { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.5rem; }

.pcard-badge { position: absolute; top: 0.75rem; right: 0.75rem; }

.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 1rem; }

.pcard-title { font-size: 1rem; font-weight: 600; line-height: 1.35; }

.pcard-tagline { flex: 1; margin-top: 0.4rem; font-size: 0.88rem; color: var(--mist); line-height: 1.55; }

.pcard-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.8rem; }


.filter-row { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.6rem; }

.filter-search {
  width: 100%;
  max-width: 22rem;
  min-height: 2.75rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.6rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-body);
}

.filter-search::placeholder { color: var(--dim); }

.filter-search:focus { border-color: rgba(255, 79, 163, 0.5); outline: none; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.filter-chips .tag {
  cursor: pointer;
  background: none;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.filter-chips .tag:hover { color: var(--ink); border-color: rgba(236, 236, 246, 0.28); }

.filter-chips .tag.active { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.5); background: rgba(255, 79, 163, 0.1); }

.filter-empty { display: none; }

.filter-empty.on { display: block; }

.discord-live { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--mist); }

.discord-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--good); animation: gvf-pulse 2s infinite; }

@keyframes gvf-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

.buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem max(1rem, env(safe-area-inset-left)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  background: rgba(10, 10, 15, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}

.buybar.on { transform: none; }

.buybar > div { min-width: 0; flex: 1 1 auto; }

.buybar .btn { flex: 0 0 auto; }

.buybar-name { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 22.5rem) {
  .buybar .price-old, .buybar .pill-sale { display: none; }
}

.bcard { position: relative; display: flex; flex-direction: column; padding: 0; }

.bcard.has-media { overflow: hidden; }

.bcard-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }

.bcard:hover .bcard-media img { transform: scale(1.03); }

.bcard-badge { position: absolute; top: 0.75rem; right: 0.75rem; }

.bcard-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.5rem; }

.bcard-best { border-color: rgba(255, 79, 163, 0.5); }

.bcard-flag { position: absolute; top: -0.65rem; left: 1.5rem; z-index: 1; }

.bcard-title { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }

.bcard-tagline { display: block; margin-top: 0.4rem; font-size: 0.88rem; color: var(--mist); line-height: 1.55; }

.bcard-items { flex: 1; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); list-style: none; }

.bcard-items li { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.3rem 0; font-size: 0.88rem; }

.bcard-items li span:first-child { display: flex; align-items: center; gap: 0.5rem; }

.bcard-items svg { width: 0.85rem; height: 0.85rem; color: var(--pink); flex-shrink: 0; }

.bcard-items .item-price { font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }

.bcard-items .item-price.free { color: var(--pink); }

.bcard-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.bcard-was { display: block; font-family: var(--font-mono); font-size: 0.72rem; color: var(--dim); }
.bcard-was s { text-decoration: line-through; text-decoration-color: rgba(255, 79, 163, 0.75); }

.bcard-foot .price { display: block; }

.faq { border: 1px solid var(--line); border-radius: 1rem; }

.faq details { padding: 1rem 1.25rem; }

.faq details + details { border-top: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary svg { width: 1rem; height: 1rem; color: var(--dim); flex-shrink: 0; transition: transform 0.2s; }

.faq details[open] summary svg { transform: rotate(180deg); }

.faq-a { margin-top: 0.7rem; font-size: 0.88rem; color: var(--mist); line-height: 1.65; }

.cta-card { position: relative; overflow: hidden; padding: 2.5rem 1.75rem; text-align: center; }

.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--dim); padding-top: 2rem; }

.breadcrumbs a:hover { color: var(--mist); }

.breadcrumbs svg { width: 0.75rem; height: 0.75rem; }

.breadcrumbs .current { color: var(--mist); }

.product-hero { display: grid; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }

.product-hero > * { min-width: 0; }

.gallery { min-width: 0; display: flex; flex-direction: column; gap: 0.75rem; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.gallery-image { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.gallery-item.is-video { border-color: rgba(255, 79, 163, 0.3); box-shadow: 0 0 60px -30px rgba(255, 79, 163, 0.9); }

.video-embed { position: relative; aspect-ratio: 16 / 9; background: #07070c; }

.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.media-stack { min-width: 0; }

.product-install { min-width: 0; }

.media-stack > * + * { margin-top: 1.25rem; }

.buypanel { padding: 1.25rem; }

.buypanel h1 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin-top: 0.75rem; }

.buypanel-tagline { margin-top: 0.5rem; color: var(--mist); line-height: 1.6; }

.buypanel-block { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }

.launch-note { margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); }

.login-note { display: flex; align-items: flex-start; gap: 0.45rem; margin-top: 0.7rem; font-size: 0.75rem; color: var(--dim); line-height: 1.5; }

.login-note svg { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; color: var(--warn); margin-top: 0.15rem; }

.buy-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }

.meta-list { list-style: none; }

.meta-list li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.32rem 0; font-size: 0.88rem; color: var(--mist); }

.meta-list svg { width: 1rem; height: 1rem; color: var(--pink); flex-shrink: 0; margin-top: 0.15rem; }

.req-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

.req-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.6rem; }

.req-row .req-k { font-size: 0.75rem; color: var(--mist); }

.compat-grid { display: grid; gap: 1rem; margin-top: 1.8rem; justify-content: center; }

.compat-card { padding: 1.4rem; }

.compat-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

.compat-rows { list-style: none; margin-top: 0.9rem; }

.compat-rows li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; }

.compat-rows li:first-child { border-top: 0; }

.compat-name { font-family: var(--font-display); font-weight: 600; min-width: 7rem; }

.status-dot { width: 8px; height: 8px; border-radius: 999px; flex-shrink: 0; align-self: center; }

.status-stable .status-dot, .status-integrated .status-dot { background: var(--good); }

.status-beta .status-dot, .status-tested .status-dot { background: var(--warn); }

.status-partial .status-dot, .status-planned .status-dot { background: var(--dim); }

.status-not_supported .status-dot { background: var(--bad); }

.status-label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); white-space: nowrap; }

.status-not_supported .status-label { color: var(--bad); }

.compat-note { font-size: 0.78rem; color: var(--dim); }

.upsell-stack { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }

.upsell {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 79, 163, 0.35);
  border-radius: 0.7rem;
  background: rgba(255, 79, 163, 0.06);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}

.upsell:hover { border-color: rgba(255, 79, 163, 0.65); background: rgba(255, 79, 163, 0.12); }

.upsell:active { transform: translateY(1px); }

.upsell-sub-plan { border-color: rgba(61, 220, 151, 0.32); background: rgba(61, 220, 151, 0.06); }

.upsell-sub-plan:hover { border-color: rgba(61, 220, 151, 0.6); background: rgba(61, 220, 151, 0.12); }

.upsell-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 15, 0.5);
  color: var(--pink);
}

.upsell-sub-plan .upsell-ico { color: var(--good); }

.upsell-ico svg { width: 1rem; height: 1rem; }

.upsell-thumb {
  flex: 0 0 auto;
  width: 3.5rem;
  height: 2.1rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  object-fit: cover;
}

.upsell-copy { flex: 1 1 auto; min-width: 0; }

.upsell-lead { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.upsell-title { display: block; margin-top: 0.1rem; font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.upsell-sub { display: block; margin-top: 0.05rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.upsell-flag { flex: 0 0 auto; }

.upsell-flag-delivery {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.upsell-flag-open { color: var(--good); border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.07); }

.upsell-flag-escrow { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.4); background: rgba(255, 79, 163, 0.08); }

.upsell-flag-mixed { color: var(--warn); border-color: rgba(255, 180, 84, 0.32); background: rgba(255, 180, 84, 0.06); }

.upsell-arrow { flex: 0 0 auto; width: 1rem; height: 1rem; color: var(--dim); }

.upsell:hover .upsell-arrow { color: var(--pink); }

.upsell-sub-plan:hover .upsell-arrow { color: var(--good); }

.plan-card .bcard-items li { padding: 0.25rem 0; }

.mini-card-note { display: block; margin-top: 0.15rem; font-size: 0.72rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.fgrid { display: grid; gap: 1rem; margin-top: 2.2rem; }

.fcard { padding: 1.25rem; }

.fcard-head { display: flex; align-items: center; gap: 0.75rem; }

.fcard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.fcard-icon svg { width: 1rem; height: 1rem; color: var(--pink); }

.fcard-title { font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; }

.fcard-text { margin-top: 0.7rem; font-size: 0.85rem; color: var(--mist); line-height: 1.6; }

.notice-warn {
  margin-top: 2rem;
  border: 1px solid rgba(255, 180, 84, 0.3);
  background: rgba(255, 180, 84, 0.05);
  border-radius: 0.75rem;
  padding: 1.25rem;
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.65;
}

.notice-warn strong { color: var(--warn); }

.notice-conflict {
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 0.75rem;
  padding: 1.25rem;
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.65;
}

.notice-conflict svg { width: 1rem; height: 1rem; color: var(--pink); flex-shrink: 0; margin-top: 0.15rem; }

/* ----------------------------------------------------------- delivery model */

.delivery { margin-top: 1.8rem; padding: 1.5rem; }

.delivery-head { display: flex; align-items: flex-start; gap: 0.85rem; }

.delivery-head > div { min-width: 0; }

.delivery-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.delivery-ico svg { width: 1rem; height: 1rem; color: var(--pink); }

.delivery-label { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }

.delivery-lead { margin-top: 0.4rem; font-size: 0.88rem; color: var(--mist); line-height: 1.65; }

.delivery-points { margin-top: 1.1rem; }

.delivery-points li { padding: 0.4rem 0; }

.delivery-caveat {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--mist);
  line-height: 1.6;
}

.delivery-caveat svg { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; color: var(--warn); margin-top: 0.2rem; }

.delivery-contrast {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.6;
}

.delivery-contrast svg { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; color: var(--pink); margin-top: 0.2rem; }

.delivery-open { border-color: rgba(61, 220, 151, 0.32); background: linear-gradient(180deg, rgba(61, 220, 151, 0.06), transparent 55%), var(--panel); }

.delivery-open .delivery-ico { border-color: rgba(61, 220, 151, 0.35); }

.delivery-open .delivery-ico svg, .delivery-open .delivery-points svg { color: var(--good); }

.delivery-escrow { border-color: rgba(255, 79, 163, 0.32); background: linear-gradient(180deg, rgba(255, 79, 163, 0.06), transparent 55%), var(--panel); }

.delivery-escrow .delivery-ico { border-color: rgba(255, 79, 163, 0.35); }

/* Stated rather than inherited from .meta-list svg. */
.delivery-escrow .delivery-ico svg, .delivery-escrow .delivery-points svg { color: var(--pink); }

.delivery-mixed { border-color: rgba(255, 180, 84, 0.3); background: linear-gradient(180deg, rgba(255, 180, 84, 0.05), transparent 55%), var(--panel); }

.delivery-mixed .delivery-ico { border-color: rgba(255, 180, 84, 0.32); }

.delivery-mixed .delivery-ico svg, .delivery-mixed .delivery-points svg { color: var(--warn); }

.delivery-grid { display: grid; gap: 1rem; margin-top: 1.8rem; }

.delivery-col { min-width: 0; padding: 1.4rem; }

.delivery-col-lead { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }

.delivery-col-title { margin-top: 0.35rem; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }

.delivery-col .delivery-points { margin-top: 0.9rem; }

.delivery-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.84rem;
  color: var(--mist);
  line-height: 1.6;
}

.delivery-banner svg { flex: 0 0 auto; width: 0.95rem; height: 0.95rem; margin-top: 0.15rem; }

.delivery-banner.delivery-open { border-color: rgba(61, 220, 151, 0.32); background: rgba(61, 220, 151, 0.05); }

.delivery-banner.delivery-open svg { color: var(--good); }

.delivery-banner.delivery-escrow { border-color: rgba(255, 79, 163, 0.32); background: rgba(255, 79, 163, 0.05); }

.delivery-banner.delivery-escrow svg { color: var(--pink); }

.delivery-banner.delivery-mixed { border-color: rgba(255, 180, 84, 0.3); background: rgba(255, 180, 84, 0.05); }

.delivery-banner.delivery-mixed svg { color: var(--warn); }

/* --------------------------------------------------------------- legal pages */

.legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.82rem; }

.legal-nav a, .legal-nav-here {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: var(--mist);
}

.legal-nav a:hover { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.45); background: rgba(255, 79, 163, 0.08); }

.legal-nav-here { color: var(--pink-soft); border-color: rgba(255, 79, 163, 0.4); background: rgba(255, 79, 163, 0.08); }

.legal-updated {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.legal-updated svg { width: 0.85rem; height: 0.85rem; color: var(--pink); }

.identity-card { padding: 1.5rem; }

.identity-card .meta-list strong { color: var(--ink); font-weight: 600; }

.identity-card a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.mini-card { display: flex; align-items: center; gap: 1rem; padding: 0.85rem; }

.mini-card img { width: 6rem; height: 3.5rem; flex-shrink: 0; border-radius: 0.5rem; border: 1px solid var(--line); object-fit: cover; }

.mini-card-name { display: block; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.mini-card-price { display: block; margin-top: 0.1rem; font-family: var(--font-mono); font-size: 0.75rem; color: var(--mist); }

.mini-card > span { min-width: 0; flex: 1; }

.mini-card > svg { width: 1rem; height: 1rem; color: var(--dim); flex-shrink: 0; }

.jumpchips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }

.jumpchip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mist);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.jumpchip svg { width: 0.8rem; height: 0.8rem; color: var(--pink); }

.jumpchip:hover { color: var(--ink); border-color: rgba(255, 79, 163, 0.45); background: rgba(255, 79, 163, 0.08); }

@media (pointer: coarse) {
  .jumpchip { min-height: 2.4rem; padding: 0.45rem 0.8rem; }
}

.doctab-panel:focus { outline: none; }

/* The docs index builds itself from the uploaded files, so it lists sections, not prices. */
.doc-index { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.4rem; }

.doc-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem; min-width: 0; }

.doc-card-head { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }

.doc-card-thumb { width: 5rem; height: 3rem; flex-shrink: 0; border-radius: 0.5rem; border: 1px solid var(--line); object-fit: cover; }

.doc-card-title { min-width: 0; }

.doc-card-name { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; }

.doc-card-name:hover { color: var(--accent); }

.doc-card-kind { margin: 0.15rem 0 0; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

.doc-toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }

.doc-toc a { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.55rem; border-radius: 0.5rem; color: var(--mist); text-decoration: none; font-size: 0.87rem; }

.doc-toc a:hover { background: var(--raise); color: var(--ink); }

.doc-toc svg { width: 0.85rem; height: 0.85rem; flex-shrink: 0; color: var(--dim); }

.doc-toc a:hover svg { color: var(--accent); }

.doc-toc span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.doc-card-open { align-self: start; margin-top: auto; }

@media (min-width: 48rem) {
  .doc-index { grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); }
}

/* Deep links from the docs index must clear the sticky header. */
.md-prose h2[id], .md-prose h3[id], .doctab-panel[id], .eyebrow[id] { scroll-margin-top: calc(var(--head-h, 3.75rem) + 1.5rem); }

/* ----------------------------------------------------------------- lightbox */

.gallery-item.js-lightbox-open { display: block; width: 100%; padding: 0; cursor: zoom-in; text-align: left; font: inherit; color: inherit; }

.media-zoom { position: absolute; right: 0.65rem; bottom: 0.65rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; padding: 0; border-radius: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(10, 10, 15, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; opacity: 0; transition: opacity 0.18s ease, background 0.18s ease; cursor: zoom-in; }

.media-zoom svg { width: 1rem; height: 1rem; }

.gallery-item:hover .media-zoom, .gallery-item:focus-visible .media-zoom, .media-zoom:focus-visible { opacity: 1; }

.media-zoom:hover { background: var(--pink); border-color: var(--pink); color: #1d0630; }

.gallery-item.is-video .media-zoom { top: 0.6rem; right: 0.6rem; bottom: auto; }

/* Touch has no hover, so the affordance is always on. */
@media (pointer: coarse) {
  .media-zoom { opacity: 1; }
}

.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; opacity: 0; transition: opacity 0.18s ease; }

.lightbox.is-open { opacity: 1; }

.lightbox-scrim { position: absolute; inset: 0; background: rgba(4, 4, 8, 0.975); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.lightbox-shell { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; padding: 3.5rem 1rem 1rem; }

.lightbox-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }

.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0.5rem; cursor: zoom-in; transition: transform 0.18s ease; touch-action: none; -webkit-user-select: none; user-select: none; }

.lightbox-img.is-zoomed { cursor: grab; transition: none; }

.lightbox-stage.is-zoomed { cursor: grab; }

.lightbox-frame { width: min(100%, 78rem); aspect-ratio: 16 / 9; max-height: 100%; border: 0; border-radius: 0.6rem; background: #000; }

.lightbox-btn { position: absolute; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(20, 20, 28, 0.86); color: #fff; cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease; }

.lightbox-btn:hover { background: var(--pink); border-color: var(--pink); color: #1d0630; }

.lightbox-btn svg { width: 1.35rem; height: 1.35rem; }

.lightbox-close { top: 0.85rem; right: 0.85rem; }

.lightbox-prev { top: 50%; left: 0.85rem; transform: translateY(-50%); }

.lightbox-next { top: 50%; right: 0.85rem; transform: translateY(-50%); }

.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0.25rem 0; color: var(--mist); font-size: 0.85rem; }

.lightbox-bar span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lightbox-count { flex: 0 0 auto; font-family: var(--font-mono); font-size: 0.75rem; color: var(--dim); }

@media (max-width: 40rem) {
  .lightbox-shell { padding: 3.25rem 0.5rem 0.5rem; }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  .lightbox-btn { width: 2.4rem; height: 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-img { transition: none; }
}

.md-prose { color: var(--mist); line-height: 1.75; font-size: 0.98rem; max-width: 48rem; }

.md-prose h1, .md-prose h2, .md-prose h3, .md-prose h4 { color: var(--ink); font-family: var(--font-display); font-weight: 600; margin: 1.9rem 0 0.7rem; line-height: 1.25; letter-spacing: -0.01em; }

.md-prose h1 { font-size: 1.6rem; }

.md-prose h2 { font-size: 1.25rem; }

.md-prose h3 { font-size: 1.05rem; }

.md-prose h4 { font-size: 0.95rem; color: var(--mist); }

.md-prose h2 + h3, .md-prose h3 + h4 { margin-top: 1.1rem; }

.md-prose hr { height: 1px; margin: 2rem 0; border: 0; background: var(--line); }

.md-prose ul li::marker { color: var(--pink); }

.md-prose ol li::marker { color: var(--dim); font-family: var(--font-mono); font-size: 0.85em; }

.md-prose input[type="checkbox"] { margin-right: 0.4rem; accent-color: var(--pink); }

.release-body h2:first-child, .docpanel-body h1:first-child, .docpanel-body h2:first-child { margin-top: 0; }

.md-prose p { margin: 0.85rem 0; }

.md-prose a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.md-prose ul, .md-prose ol { margin: 0.85rem 0; padding-left: 1.35rem; }

.md-prose .meta-list { padding-left: 0; margin: 1.1rem 0; }

.md-prose .meta-list li { margin: 0; }

.md-prose li { margin: 0.35rem 0; }

.md-prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  color: var(--pink-soft);
}

.md-prose pre { background: #0c0c12; border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.25rem 0; max-width: 100%; }

.md-prose pre code { display: block; white-space: pre; font-size: 0.82rem; line-height: 1.65; }

.md-prose pre code { background: none; border: 0; padding: 0; color: var(--ink); }

.md-prose blockquote { border-left: 2px solid var(--pink); padding-left: 1rem; margin: 1.25rem 0; color: var(--ink); }

.md-prose img { border-radius: 0.75rem; border: 1px solid var(--line); margin: 1.25rem 0; }

.md-prose table {
  display: block;
  width: max-content;
  min-width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.md-prose th, .md-prose td { border: 1px solid var(--line); padding: 0.55rem 0.8rem; text-align: left; }

.md-prose th { color: var(--ink); background: var(--panel-2); font-family: var(--font-display); }

.tiercard { position: relative; display: flex; flex-direction: column; padding: 2rem; }

.tiercard .bcard-title { font-size: 1.15rem; }

.tiercard-best { border-color: rgba(255, 79, 163, 0.4); box-shadow: 0 0 70px -28px rgba(255, 79, 163, 0.55); }

.tiercard ul { list-style: none; flex: 1; margin-top: 1.5rem; }

.tiercard ul li { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.35rem 0; font-size: 0.88rem; }

.tiercard ul svg { width: 1rem; height: 1rem; color: var(--pink); flex-shrink: 0; margin-top: 0.15rem; }

.tiercard-note { margin-top: 1rem; font-size: 0.75rem; color: var(--dim); line-height: 1.6; }

.tiercard-note + .tiercard-note { margin-top: 0.5rem; }

.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: rgba(16, 15, 25, 0.3); margin-top: 2rem; }

.footer-grid { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }

.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.footer-col-title { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

.footer-col ul { list-style: none; margin-top: 1rem; }

.footer-col li { margin: 0.55rem 0; }

.footer-col a { font-size: 0.88rem; color: var(--mist); transition: color 0.15s; }

.footer-col a:hover { color: var(--ink); }

.footer-about p { margin-top: 0.75rem; max-width: 20rem; font-size: 0.88rem; color: var(--mist); line-height: 1.6; }

.subscribe-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; max-width: 28rem; }

.subscribe-form input[type="email"] {
  width: 100%;
  min-height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.65rem 1rem;
  font-size: 1rem;
  color: var(--ink);
  font-family: var(--font-body);
}

.subscribe-form input[type="email"]::placeholder { color: var(--dim); }

.subscribe-form input[type="email"]:focus { border-color: rgba(255, 79, 163, 0.5); outline: none; }

.subscribe-note { margin-top: 0.6rem; font-size: 0.72rem; line-height: 1.6; }

.subscribe-note a { color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }

.hp-field { position: absolute; width: 0; height: 0; opacity: 0; overflow: hidden; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--dim);
}

.footer-pay { font-family: var(--font-mono); }

.footer-reg { font-family: var(--font-mono); color: var(--mist); }

.thanks-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.75rem;
  border-color: rgba(61, 220, 151, 0.35);
  background: linear-gradient(180deg, rgba(61, 220, 151, 0.07), transparent 60%), var(--panel);
}

.thanks-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 151, 0.4);
  background: rgba(61, 220, 151, 0.12);
  color: var(--good);
}

.thanks-ico svg { width: 1.3rem; height: 1.3rem; }

.thanks-copy { min-width: 0; }

.thanks-actions { justify-content: flex-start; margin-top: 1.4rem; }

.empty-note { border: 1px solid var(--line); background: var(--panel); border-radius: 0.75rem; padding: 1.5rem; color: var(--mist); font-size: 0.9rem; line-height: 1.65; }

.center-hero { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6rem 0; }

.entry-list { display: grid; gap: 0.8rem; margin-top: 2rem; }

.entry-card { padding: 1.4rem; }

.entry-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--dim); }

.entry-title { margin-top: 0.4rem; font-size: 1.05rem; font-weight: 600; }

.entry-title .accent { font-family: var(--font-mono); font-size: 0.85em; }

.entry-excerpt { margin-top: 0.5rem; font-size: 0.88rem; color: var(--mist); line-height: 1.6; }

.entry-body { margin-top: 0.8rem; }

.release-list { display: grid; gap: 1rem; margin-top: 2rem; }

.release-card { padding: 1.4rem; }

.release-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }

.release-product { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }

.release-product:hover { color: var(--pink); }

.release-version { margin-top: 0.15rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--pink); }

.release-body { margin-top: 1.1rem; }

/* Inside a card the prose starts at the top - no 2rem gap above the first heading. */
.entry-body > :first-child, .release-body > :first-child, .docpanel-body > :first-child { margin-top: 0; }

.navigation.pagination { margin-top: 2.5rem; }

.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

a.page-numbers:hover { color: var(--ink); border-color: rgba(236, 236, 246, 0.3); background: rgba(255, 255, 255, 0.07); }

.page-numbers.current { color: #1d0630; background: var(--pink); border-color: var(--pink); font-weight: 700; }

.page-numbers.dots { border-color: transparent; background: none; min-width: 1.5rem; padding: 0; }

.screen-reader-text + .nav-links { margin-top: 0; }

.toast {
  position: fixed;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  left: 50%;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%);
  z-index: 145;
  background: var(--panel-2);
  border: 1px solid rgba(255, 79, 163, 0.45);
  color: var(--ink);
  border-radius: 0.75rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  display: none;
}

.toast.on { display: block; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.video-facade { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); cursor: pointer; }

.video-facade-thumb { width: 100%; height: 100%; object-fit: cover; }

.video-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.8);
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.video-facade-play svg { width: 1.6rem; height: 1.6rem; margin-left: 0.15rem; }

.video-facade .video-facade-play { background: var(--pink); border-color: var(--pink); color: #1d0630; }

.video-facade:hover .video-facade-play { transform: translate(-50%, -50%) scale(1.07); filter: brightness(1.08); }

.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(45% 45% at 50% 50%, rgba(255, 79, 163, 0.22), transparent 70%);
}

.video-facade-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 15, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

.video-facade-tag .yt-glyph { width: 1.1rem; height: 0.8rem; }

/* Title and the consent note sit in one bar, so the video says what it is. */
.video-facade-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.6rem 0.85rem 0.7rem;
  background: linear-gradient(to top, rgba(6, 6, 10, 0.92), rgba(6, 6, 10, 0));
  pointer-events: none;
}

.video-facade-title {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-facade-note {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(236, 236, 246, 0.72);
}

@media (max-width: 30rem) {
  .video-facade-bar { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
  .video-facade-title { max-width: 100%; }
}

.footer-merchant { display: flex; align-items: flex-start; gap: 0.45rem; line-height: 1.6; color: var(--mist); }

.footer-merchant svg { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; color: var(--pink); margin-top: 0.15rem; }

.footer-merchant strong { color: var(--mist); font-weight: 600; }

.footer-merchant a { text-decoration: underline; text-underline-offset: 3px; }

.footer-merchant a:hover { color: var(--ink); }

.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; color: var(--mist); }

.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

.footer-legal a:hover { color: var(--ink); }

@media (max-width: 22.5rem) {
  .wordmark-head .wordmark-text { display: none; }
}

@media (min-width: 640px) {
  .filter-row { flex-direction: row; align-items: center; justify-content: space-between; }
  .grid-2-sm { grid-template-columns: repeat(2, 1fr); }
  .buy-actions { flex-direction: row; }
  .buy-actions .btn-primary { flex: 1; }
  .subscribe-form { flex-direction: row; }
  .subscribe-form input[type="email"] { flex: 1; }
  .footer-bottom { flex-flow: row wrap; align-items: center; justify-content: space-between; }
  /* Copyright and payment share one row; merchant, registration and legal take full-width
     lines of their own. */
  .footer-reg, .footer-merchant, .footer-legal { flex: 1 0 100%; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .grid-mini { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .compat-grid { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .compat-grid.is-single { grid-template-columns: minmax(0, 34rem); justify-content: center; }
  .buypanel { padding: 1.6rem; }
  .product-hero { gap: 2rem; margin-top: 1.75rem; }
  .wrap { padding-left: max(2rem, env(safe-area-inset-left)); padding-right: max(2rem, env(safe-area-inset-right)); }
  .site-head-in { min-height: max(4.25rem, var(--head-h, 4.25rem)); }
  .head-discord { display: inline-flex; }
  .basket-label { display: inline; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cookiebar-actions { justify-content: flex-end; }
  .cookiebar-actions .btn { flex: 0 0 auto; min-width: 10rem; }
  .cookiebar-save { align-self: flex-end; width: auto; min-width: 10rem; }
}

@media (min-width: 48rem) {
  .product-hero { grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 1fr); gap: 1.75rem; }
  /* align-self keeps the panel its own height while its grid area stays full height, which is
     what gives position:sticky somewhere to travel. */
  .buypanel { position: sticky; top: calc(var(--head-h, 3.75rem) + 1rem); align-self: start; }
  .media-stack { grid-column: 1; grid-row: 1; }
  .buypanel { grid-column: 2; grid-row: 1 / span 4; }
  .product-install { grid-column: 1; grid-row: 2; }
  .product-docs { grid-column: 1; grid-row: 3; }
  .product-hero { grid-template-rows: auto auto auto 1fr; }
}

@media (min-width: 62rem) {
  .product-hero { grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 1fr); gap: 2.25rem; }
}

@media (min-width: 1024px) {
  .buybar { display: none; }
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .toast { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
  .drawer-panel { width: min(26rem, 100%); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .fgrid { grid-template-columns: repeat(3, 1fr); }
  .grid-mini { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero-grid.is-single { grid-template-columns: minmax(0, 46rem); justify-content: center; text-align: center; }
  .hero-grid.is-single .hero-actions { justify-content: center; }

  /* Beside the hero the wall becomes a slow vertical marquee, masked at both ends. */
  .rwall {
    height: 30rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  }

  .rwall-track { flex-direction: column; overflow: visible; padding-bottom: 0; }

  .rcard-glow { flex: 0 0 auto; }

  .rwall.is-looping .rwall-track { animation: gvf-rwall 60s linear infinite; }

  .rwall.is-looping:hover .rwall-track, .rwall.is-looping:focus-within .rwall-track { animation-play-state: paused; }

  @keyframes gvf-rwall {
    from { transform: translateY(0); }
    to { transform: translateY(calc(-50% - 0.375rem)); }
  }

  @media (prefers-reduced-motion: reduce) {
    .rwall { height: auto; max-height: 30rem; overflow-y: auto; -webkit-mask-image: none; mask-image: none; }
    .rwall.is-looping .rwall-track { animation: none; }
  }
  .footer-grid { grid-template-columns: 1.3fr 2fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .bundles-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 3rem; }
}

/* ------------------------------------------------------------ Vice City layer */

.palm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn-lg { min-height: 3.1rem; padding: 0.75rem 1.5rem; font-size: 0.98rem; border-radius: 0.85rem; }

.btn-lg svg { width: 1.15rem; height: 1.15rem; }

.pill-free {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a1a00;
  background: linear-gradient(135deg, #ffc857, #ffe08a);
  box-shadow: 0 4px 12px -4px rgba(255, 200, 87, 0.6);
}

.pill-new {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--vi-indigo), var(--vi-violet));
  box-shadow: 0 4px 12px -4px rgba(91, 75, 224, 0.7);
}

/* Hero: the Vice City sunset, a glass panel for the words, the featured card beside it. */

.hero { position: relative; isolation: isolate; overflow: clip; border-bottom: 1px solid rgba(255, 79, 163, 0.2); background: var(--night); }

.hero-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 38% at 64% 72%, rgba(255, 138, 74, 0.42), transparent 70%),
    radial-gradient(90% 55% at 50% 100%, rgba(255, 79, 163, 0.42), transparent 72%),
    linear-gradient(180deg, #09080f 0%, #150f33 30%, #3a2280 52%, #8a3ab8 68%, #e0489c 82%, #ff7f5e 92%, #ffb457 100%);
}

.hero-sun {
  position: absolute;
  left: 64%;
  bottom: 22%;
  width: clamp(8rem, 22vw, 17rem);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #a23fd0 0%, #ff4fa3 42%, #ff8a4a 74%, #ffc857 100%);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 56% no-repeat, repeating-linear-gradient(180deg, #000 0 6%, transparent 6% 12%) bottom / 100% 44% no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% 56% no-repeat, repeating-linear-gradient(180deg, #000 0 6%, transparent 6% 12%) bottom / 100% 44% no-repeat;
  opacity: 0.95;
}

.hero-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: 0;
  height: 36%;
  background-image: linear-gradient(rgba(255, 79, 163, 0.7) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 79, 163, 0.7) 1px, transparent 1px);
  background-size: 100% 2.4rem, 3.2rem 100%;
  transform: perspective(26rem) rotateX(64deg);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%);
  mask-image: linear-gradient(to bottom, transparent, #000 30%);
  opacity: 0.5;
}

.hero-palms { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 44%; color: #0a0614; opacity: 0.92; }

.hero-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.4s ease; }

.hero-scene.is-live .hero-canvas { opacity: 1; }

.hero-scene.is-live > :not(.hero-canvas) { opacity: 0; transition: opacity 1.2s ease; }

.hero-veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9, 8, 15, 0.5) 0%, rgba(9, 8, 15, 0.08) 40%, rgba(9, 8, 15, 0.1) 75%, rgba(9, 8, 15, 0.7) 100%); }

.hero > .wrap { position: relative; z-index: 1; }

.hero-grid { display: grid; gap: 2.25rem; align-items: center; min-height: min(78vh, 46rem); padding-top: clamp(2.5rem, 7vw, 5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }

.hero-side { min-width: 0; }

.hero-glass {
  position: relative;
  padding: clamp(1.35rem, 3.5vw, 2.4rem);
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 10, 26, 0.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-glass::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: -1px; height: 2px; border-radius: 2px; background: var(--vi-grad-h); opacity: 0.9; }

.hero-glass .h1 { margin-top: 1rem; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }

.hero-glass .lead { color: #dcdcea; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-stats { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.72rem; color: rgba(236, 236, 246, 0.62); }

.hero-grid.is-single .hero-glass { text-align: center; }

.hero-grid.is-single .lead { margin-left: auto; margin-right: auto; }

.hero-static .hero-veil { background: linear-gradient(180deg, rgba(9, 8, 15, 0.35) 0%, rgba(9, 8, 15, 0.05) 45%, rgba(9, 8, 15, 0.65) 100%); }

/* The featured card beside the headline. */

.spotlight { position: relative; display: block; color: inherit; text-decoration: none; }

.spotlight-halo {
  position: absolute;
  inset: -12% -6%;
  border-radius: 2.5rem;
  background:
    radial-gradient(55% 55% at 50% 40%, rgba(255, 79, 163, 0.45), transparent 70%),
    radial-gradient(40% 40% at 85% 95%, rgba(255, 138, 74, 0.4), transparent 70%);
  filter: blur(28px);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.spotlight:hover .spotlight-halo { opacity: 1; }

.spotlight-inner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(26, 18, 40, 0.9), rgba(16, 15, 25, 0.97)) padding-box,
    linear-gradient(160deg, rgba(255, 255, 255, 0.4), rgba(162, 63, 208, 0.6) 45%, rgba(255, 79, 163, 0.9) 100%) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease;
}

.spotlight:hover .spotlight-inner { transform: translateY(-4px); }

.spotlight-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--panel-2); }

.spotlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.spotlight-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(16, 15, 25, 0.92)); }

.spotlight-flags { position: absolute; top: 0.85rem; left: 0.85rem; z-index: 1; display: flex; align-items: center; gap: 0.45rem; }

.spotlight-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  background: var(--vi-grad-btn);
  color: var(--vi-ink-on);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(255, 79, 163, 0.45);
}

.spotlight-flag svg { width: 0.8rem; height: 0.8rem; }

.spotlight-body { position: relative; display: block; padding: 1rem 1.25rem 1.25rem; }

.spotlight-kicker { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vi-gold); }

.spotlight-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.35rem; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--ink); }

.spotlight-tagline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 0.4rem; color: var(--mist); font-size: 0.9rem; line-height: 1.55; }

.spotlight-meta { margin-top: 0.8rem; }

.spotlight-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 8, 15, 0.55);
}

.spotlight-price-now { display: inline-flex; align-items: baseline; gap: 0.4rem; }

.spotlight-price-now .price-lg { font-size: 1.9rem; letter-spacing: -0.02em; background: var(--vi-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.spotlight-was { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--dim); }

.spotlight-was s { text-decoration-color: rgba(255, 79, 163, 0.75); }

.spotlight-save { padding: 0.16rem 0.5rem; border-radius: 6px; border: 1px solid rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.08); color: var(--good); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }

.spotlight-tax { flex: 1 0 100%; font-family: var(--font-mono); font-size: 0.66rem; color: var(--dim); }

.spotlight-btn { width: 100%; margin-top: 0.9rem; }

/* Catalog cards: sale and regular price side by side, a real button instead of a hover hint. */

.pgrid { margin-top: 2rem; }

.pcard-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 62%, rgba(16, 15, 25, 0.5)); }

.pcard-flags, .pcard-badge { z-index: 1; }

.pcard-flags { flex-wrap: wrap; align-items: center; }

.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }

.pcard-price { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }

.pcard-was { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--dim); }

.pcard-was s { text-decoration-color: rgba(255, 79, 163, 0.8); }

.pcard-was .pill-sale { font-size: 0.6rem; padding: 0.1rem 0.38rem; }

.pcard-price .price-sm { font-size: 1.2rem; line-height: 1.1; }

.pcard.is-sale .pcard-price .price-sm { color: #fff; }

.pcard-price-note { font-family: var(--font-mono); font-size: 0.66rem; color: var(--dim); }

.pcard-view { flex: 0 0 auto; pointer-events: none; }

.pcard:hover .pcard-view { border-color: rgba(255, 79, 163, 0.65); background: rgba(255, 79, 163, 0.14); color: #fff; }

.pcard.is-free .pcard-view { border-color: rgba(255, 200, 87, 0.4); color: var(--vi-gold); }

.pcard.is-free:hover .pcard-view { border-color: rgba(255, 200, 87, 0.8); background: rgba(255, 200, 87, 0.12); color: #ffe08a; }

.pcard.is-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(160deg, rgba(255, 79, 163, 0.95), rgba(162, 63, 208, 0.6) 50%, rgba(255, 200, 87, 0.75)) border-box;
  box-shadow: var(--vi-glow);
}

.pcard.is-featured:hover {
  border-color: transparent;
  background:
    linear-gradient(var(--panel-2), var(--panel-2)) padding-box,
    linear-gradient(160deg, rgba(255, 79, 163, 1), rgba(162, 63, 208, 0.8) 50%, rgba(255, 200, 87, 0.9)) border-box;
}

.pcard-featured { background: var(--vi-grad-btn); color: var(--vi-ink-on); }

/* Trust strip: four glass cards with sunset icon tiles. */

.trustbar { padding: 2.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(16, 15, 25, 0.45); overflow: clip; }

.trust-grid { display: grid; gap: 0.9rem; }

.trust {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.trust:hover { border-color: rgba(255, 79, 163, 0.45); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(255, 79, 163, 0.6); }

.trust-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--vi-indigo), var(--vi-violet));
  box-shadow: 0 8px 20px -8px rgba(91, 75, 224, 0.85);
}

.trust-1 .trust-ico { background: linear-gradient(135deg, var(--vi-violet), var(--vi-pink)); box-shadow: 0 8px 20px -8px rgba(255, 79, 163, 0.85); }

.trust-2 .trust-ico { background: linear-gradient(135deg, var(--vi-pink), var(--vi-orange)); box-shadow: 0 8px 20px -8px rgba(255, 122, 89, 0.85); }

.trust-3 .trust-ico { background: linear-gradient(135deg, var(--vi-orange), var(--vi-gold)); color: var(--vi-ink-on); box-shadow: 0 8px 20px -8px rgba(255, 200, 87, 0.85); }

.trust-ico svg { width: 1.15rem; height: 1.15rem; }

.trust-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }

.trust-text { margin-top: 0.25rem; font-size: 0.8rem; color: var(--mist); line-height: 1.55; }

/* Free scripts: a sunset band with compact cards. */

.free-zone { overflow: clip; }

.free-zone-sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(255, 200, 87, 0.14), transparent 70%),
    radial-gradient(50% 45% at 15% 85%, rgba(255, 79, 163, 0.14), transparent 70%),
    radial-gradient(45% 45% at 88% 80%, rgba(91, 75, 224, 0.16), transparent 70%);
}

.free-zone-palms { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 60%; color: rgba(255, 200, 87, 0.06); }

.free-zone > .wrap { position: relative; }

.free-grid { gap: 1rem; margin-top: 2rem; }

.freecard { display: flex; flex-direction: column; overflow: hidden; border-color: rgba(255, 200, 87, 0.22); }

.freecard:hover { border-color: rgba(255, 200, 87, 0.55); box-shadow: 0 0 46px -20px rgba(255, 200, 87, 0.5); }

.freecard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--panel-2); }

.freecard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }

.freecard:hover .freecard-media img { transform: scale(1.03); }

.freecard-body { display: flex; flex: 1; flex-direction: column; gap: 0.4rem; padding: 1rem 1.1rem 1.1rem; }

.freecard-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }

.freecard-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; line-height: 1.3; color: var(--ink); }

.freecard-tagline { flex: 1; font-size: 0.86rem; color: var(--mist); line-height: 1.5; }

.freecard-btn { align-self: flex-start; margin-top: 0.6rem; pointer-events: none; }

/* Discord: the real logo and a slow sunset ring around the button. */

@property --gvf-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.btn-discord { --r: 0.7rem; position: relative; isolation: isolate; overflow: visible; color: #fff; border-color: rgba(88, 101, 242, 0.55); background: rgba(88, 101, 242, 0.18); }

.btn-discord.btn-sm { --r: 0.6rem; }

.btn-discord.btn-lg { --r: 0.85rem; }

.btn-discord svg { width: 1.1rem; height: 1.1rem; }

.btn-discord:hover:not(:disabled) { background: rgba(88, 101, 242, 0.32); border-color: rgba(88, 101, 242, 0.95); }

.btn-discord-ring {
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: calc(var(--r) + 3px);
  padding: 2px;
  background: conic-gradient(from var(--gvf-angle), #5865f2, #ff4fa3, #ffc857, #5865f2);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.9;
  animation: gvf-ring 4s linear infinite;
  pointer-events: none;
}

.btn-discord::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -2;
  border-radius: calc(var(--r) + 10px);
  background: radial-gradient(closest-side, rgba(88, 101, 242, 0.55), rgba(255, 79, 163, 0.18) 60%, transparent);
  filter: blur(10px);
  animation: gvf-breathe 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gvf-ring { to { --gvf-angle: 360deg; } }

@keyframes gvf-breathe {
  0%, 100% { opacity: 0.5; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-discord-ring, .btn-discord::after { animation: none; }
}

/* Menu: the highlighted Membership entry. */

.nav-desktop a.nav-hl {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
  background: linear-gradient(var(--night), var(--night)) padding-box, var(--vi-grad-h) border-box;
  box-shadow: 0 0 22px -6px rgba(255, 79, 163, 0.75);
}

.nav-desktop a.nav-hl:hover { background: linear-gradient(rgba(255, 79, 163, 0.14), rgba(255, 79, 163, 0.14)) padding-box, var(--vi-grad-h) border-box; }

.nav-desktop a.nav-hl.current::after { display: none; }

.nav-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.42rem;
  border-radius: 999px;
  background: var(--vi-grad-btn);
  color: var(--vi-ink-on);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

.nav-drawer-link.is-hl { border-color: rgba(255, 79, 163, 0.4); background: linear-gradient(90deg, rgba(255, 79, 163, 0.14), rgba(255, 138, 74, 0.06)); }

.nav-drawer-link.is-hl .nav-drawer-ico { background: var(--vi-grad-btn); color: var(--vi-ink-on); border-color: transparent; }

.nav-drawer-label .nav-badge { margin-left: 0.45rem; vertical-align: middle; }

/* Membership page: the featured plan. */

.tiercard-featured {
  border-color: transparent;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(160deg, rgba(255, 79, 163, 0.95), rgba(162, 63, 208, 0.6) 50%, rgba(255, 200, 87, 0.75)) border-box;
  box-shadow: var(--vi-glow);
}

.tiercard-featured .bcard-flag { display: inline-flex; align-items: center; gap: 0.3rem; }

.tiercard-featured .bcard-flag svg { width: 0.75rem; height: 0.75rem; }

/* Palms on the closing card and along the bottom of every page. */

.cta-card { overflow: hidden; }

.cta-card .cta-palm { position: absolute; bottom: -8%; width: clamp(6.5rem, 18vw, 13rem); height: auto; color: rgba(255, 79, 163, 0.17); pointer-events: none; }

.cta-card .cta-palm-l { left: -1.5%; }

.cta-card .cta-palm-r { right: -1.5%; color: rgba(255, 200, 87, 0.15); }

.footer-sunset {
  position: relative;
  height: clamp(7rem, 15vw, 12.5rem);
  margin-top: -0.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(9, 8, 15, 0) 0%, rgba(42, 10, 69, 0.55) 28%, rgba(162, 63, 208, 0.55) 55%, rgba(255, 79, 163, 0.62) 76%, rgba(255, 138, 74, 0.72) 91%, rgba(255, 200, 87, 0.8) 100%);
}

.footer-sun {
  position: absolute;
  left: 50%;
  bottom: -28%;
  width: clamp(9rem, 24vw, 19rem);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, #ff4fa3 0%, #ff8a4a 55%, #ffc857 100%);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 50% no-repeat, repeating-linear-gradient(180deg, #000 0 7%, transparent 7% 13%) bottom / 100% 50% no-repeat;
  mask: linear-gradient(#000 0 0) top / 100% 50% no-repeat, repeating-linear-gradient(180deg, #000 0 7%, transparent 7% 13%) bottom / 100% 50% no-repeat;
  opacity: 0.9;
}

.footer-palms { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 100%; color: #09080f; }

/* Phones: every action button spans the full width. */

@media (max-width: 639px) {
  .hero-actions, .cta-actions, .buy-actions, .thanks-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .cta-actions .btn, .buy-actions .btn, .thanks-actions .btn, .freecard-btn, .spotlight-btn, .bcard-cta, .subscribe-form .btn, .empty-note ~ .cta-actions .btn { width: 100%; }
  .pcard-foot { flex-wrap: wrap; }
  .pcard-view { flex: 1 0 100%; }
  .section-head .link-accent { width: 100%; }
  .hero-grid { padding-top: 2rem; }
  .hero-glass { border-radius: 1.1rem; }
  .cta-card .cta-palm { width: 6rem; opacity: 0.7; }
}

@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .free-grid { grid-template-columns: repeat(2, 1fr); }
  .freecard { flex-direction: row; }
  .freecard-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 9rem; border-bottom: 0; border-right: 1px solid var(--line); }
}

@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .free-grid.is-single { grid-template-columns: minmax(0, 40rem); }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr); gap: 3rem; }
  .hero-grid.is-single { grid-template-columns: minmax(0, 48rem); }
  .hero-sun { left: 66%; bottom: 20%; }
}

@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr); }
}

/* Product page below the hero: one rhythm, the documents first. */

.pbody { padding: 2.5rem 0 3.5rem; }

.product-docs { min-width: 0; margin-top: 0.5rem; }

.product-docs .docpanel-body { max-width: none; }

.pstack > * + * { margin-top: 2.5rem; }

.pblock-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1rem; }

.pblock-title { margin-top: 0.35rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

.pblock-note { max-width: 28rem; font-size: 0.82rem; line-height: 1.55; color: var(--dim); }

.pstack .fgrid, .pstack .delivery, .pstack .notice-warn, .pstack .grid-mini { margin-top: 0; }

.notice-row { display: grid; gap: 0.75rem; }

.notice-row .notice-conflict { margin-top: 0; }

.ptwo { display: grid; gap: 1.5rem; align-items: start; }

.compat-stack { display: grid; gap: 1rem; }

.pfaq-grid { display: grid; gap: 1.5rem; align-items: start; }

.pcta { padding: 2.25rem 1.5rem; }

.docshelf { display: grid; gap: 0.5rem; grid-template-columns: 1fr; padding: 0.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }

.doctile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: none;
  color: var(--mist);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.doctile:hover { background: rgba(255, 255, 255, 0.04); color: var(--ink); }

.doctile.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(var(--panel-2), var(--panel-2)) padding-box, var(--vi-grad-h) border-box;
  box-shadow: 0 12px 30px -18px rgba(255, 79, 163, 0.85);
}

.doctile-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--pink);
}

.doctile-ico svg { width: 1.05rem; height: 1.05rem; }

.doctile.is-active .doctile-ico { background: var(--vi-grad-btn); border-color: transparent; color: var(--vi-ink-on); }

.doctile-text { flex: 1 1 auto; min-width: 0; }

.doctile-label { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }

.doctile-meta { display: block; margin-top: 0.1rem; font-family: var(--font-mono); font-size: 0.66rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.doctile.is-active .doctile-meta { color: rgba(236, 236, 246, 0.7); }

.doctile-chev { flex: 0 0 auto; width: 0.95rem; height: 0.95rem; color: var(--dim); transition: transform 0.15s ease; }

.doctile.is-active .doctile-chev { color: var(--pink); transform: rotate(90deg); }

.doctab-panel { margin-top: 0.75rem; }

.docpanel { position: relative; padding: clamp(1.1rem, 3vw, 2rem) clamp(1.1rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--panel); }

.docpanel-body { position: relative; max-width: 60rem; }

.docpanel-body.is-clamped:not(.is-open) {
  max-height: 32rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 68%, transparent 100%);
}

.docpanel-more { margin-top: 0.85rem; }

.docpanel-more svg { transition: transform 0.2s ease; }

.docpanel-more.is-open svg { transform: rotate(180deg); }

@media (min-width: 640px) {
  .docshelf { grid-template-columns: repeat(2, 1fr); }
  .pcta { padding: 2.5rem 2rem; }
}

@media (min-width: 900px) {
  .docshelf { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
  .ptwo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

@media (min-width: 1024px) {
  .pfaq-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .pfaq-grid > .pcta:only-child { grid-column: 1 / -1; }
  .pstack > * + * { margin-top: 3rem; }
}

/* Docs hub ------------------------------------------------------------------- */

.dochub-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 1.5rem; padding-bottom: 2rem; }

.dochub-tools { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 24rem; }

.dochub-search { position: relative; display: flex; align-items: center; }

.dochub-search svg { position: absolute; left: 0.9rem; width: 1rem; height: 1rem; color: var(--pink); pointer-events: none; }

.dochub-search input {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}

.dochub-search input::placeholder { color: var(--dim); }

.dochub-search input:focus { border-color: rgba(255, 79, 163, 0.55); outline: none; }

.dochub-stats { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

.dochub { display: grid; gap: 1.25rem; align-items: start; }

.dochub-nav { display: none; }

.dochub-nav-title { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); padding: 0 0.6rem 0.5rem; }

.dochub-nav-list { list-style: none; display: flex; flex-direction: column; gap: 0.15rem; }

.dochub-nav-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.6rem; border-radius: 0.6rem; color: var(--mist); font-size: 0.86rem; transition: background-color 0.15s ease, color 0.15s ease; }

.dochub-nav-list a:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink); }

.dochub-nav-list img { width: 2.4rem; height: 1.5rem; flex: 0 0 auto; border-radius: 0.35rem; border: 1px solid var(--line); object-fit: cover; }

.dochub-nav-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-display); font-weight: 500; }

.dochub-nav-kind { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

.dochub-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.dochub-card { padding: 1.25rem; scroll-margin-top: calc(var(--head-h, 3.75rem) + 1rem); }

.dochub-card-head { display: flex; align-items: flex-start; gap: 1rem; }

.dochub-thumb { flex: 0 0 auto; display: block; width: 7.5rem; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0.6rem; border: 1px solid var(--line); background: var(--panel-2); }

.dochub-thumb img { width: 100%; height: 100%; object-fit: cover; }

.dochub-card-title { min-width: 0; flex: 1 1 auto; }

.dochub-card-title h2 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; }

.dochub-card-title h2 a:hover { color: var(--pink); }

.dochub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-top: 0.5rem; }

.dochub-kind { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.22rem 0.6rem; border-radius: 999px; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vi-ink-on); background: var(--vi-grad-btn); }

.dochub-kind-readme { background: linear-gradient(135deg, var(--vi-indigo), var(--vi-violet)); color: #fff; }

.dochub-kind svg { width: 0.75rem; height: 0.75rem; }

.dochub-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.55rem; border-radius: 999px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.66rem; color: var(--mist); }

.dochub-pill svg { width: 0.7rem; height: 0.7rem; color: var(--pink); }

.dochub-pill-ver { color: var(--ink); border-color: rgba(255, 79, 163, 0.35); }

.dochub-fw { margin-top: 0.55rem; }

.dochub-sections { list-style: none; display: grid; gap: 0.4rem; margin-top: 1.1rem; }

.dochub-sections a { display: flex; align-items: center; gap: 0.6rem; min-height: 2.5rem; padding: 0.45rem 0.7rem; border-radius: 0.6rem; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); color: var(--mist); font-size: 0.86rem; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }

.dochub-sections a:hover { color: var(--ink); border-color: rgba(255, 79, 163, 0.45); background: rgba(255, 79, 163, 0.08); }

.dochub-sections a > span:nth-child(2) { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dochub-num { flex: 0 0 auto; font-family: var(--font-mono); font-size: 0.66rem; color: var(--pink); }

.dochub-sections svg { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; color: var(--dim); }

.dochub-sections a:hover svg { color: var(--pink); }

.dochub-excerpt { margin-top: 1rem; font-size: 0.9rem; color: var(--mist); line-height: 1.6; }

.dochub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.dochub-product { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; font-size: 0.82rem; color: var(--dim); }

.dochub-product svg { width: 0.85rem; height: 0.85rem; }

.dochub-product:hover { color: var(--pink); }

.dochub-foot { display: grid; gap: 1.25rem; margin-top: 2.5rem; }

.dochub-note { display: flex; gap: 0.9rem; padding: 1.25rem; }

.dochub-note-ico { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 0.7rem; background: linear-gradient(135deg, var(--vi-indigo), var(--vi-violet)); color: #fff; }

.dochub-note-ico svg { width: 1.1rem; height: 1.1rem; }

.dochub-note-title { font-family: var(--font-display); font-weight: 600; }

.dochub-note-text { margin-top: 0.3rem; font-size: 0.86rem; color: var(--mist); line-height: 1.6; }

@media (min-width: 640px) {
  .dochub-sections { grid-template-columns: repeat(2, 1fr); }
  .dochub-card { padding: 1.5rem; }
}

@media (min-width: 900px) {
  .dochub { grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; }
  .dochub-nav { display: block; position: sticky; top: calc(var(--head-h, 3.75rem) + 1.25rem); padding: 0.6rem 0.4rem; border: 1px solid var(--line); border-radius: 0.9rem; background: var(--panel); }
  .dochub-tools { width: auto; min-width: 20rem; }
}

@media (min-width: 1024px) {
  .dochub-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
}

/* Support -------------------------------------------------------------------- */

.support-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; padding-top: 1.5rem; padding-bottom: 2rem; }

.support-status { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.support-status li { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.85rem; border-radius: 0.75rem; border: 1px solid var(--line); background: var(--panel); font-size: 0.82rem; color: var(--mist); }

.support-status svg { width: 0.95rem; height: 0.95rem; color: var(--pink); flex: 0 0 auto; }

.support-status strong { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 400; }

.lanes { display: grid; gap: 1rem; }

.lane { position: relative; display: flex; flex-direction: column; padding: 1.4rem; overflow: hidden; }

.lane::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 3px; background: var(--vi-grad-h); opacity: 0.85; }

.lane-ico { display: flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 0.8rem; color: #fff; background: linear-gradient(135deg, var(--vi-indigo), var(--vi-violet)); box-shadow: 0 8px 20px -8px rgba(91, 75, 224, 0.85); }

.lane-discord .lane-ico { background: linear-gradient(135deg, #5865f2, var(--vi-violet)); }

.lane-mail .lane-ico { background: linear-gradient(135deg, var(--vi-pink), var(--vi-orange)); color: var(--vi-ink-on); }

.lane-self .lane-ico { background: linear-gradient(135deg, var(--vi-orange), var(--vi-gold)); color: var(--vi-ink-on); }

.lane-ico svg { width: 1.15rem; height: 1.15rem; }

.lane-kicker { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vi-gold); }

.lane-title { margin-top: 0.25rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.lane-text { flex: 1; margin-top: 0.5rem; font-size: 0.9rem; color: var(--mist); line-height: 1.6; }

.lane-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }

.report { padding: 1.4rem; }

.report-list { list-style: none; display: grid; gap: 0.5rem; }

.report-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--mist); line-height: 1.55; }

.report-list svg { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--good); }

.report-list strong { color: var(--ink); font-weight: 600; }

.report-template-wrap { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: 0.75rem; overflow: hidden; background: #0c0b14; }

.report-template-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.6rem 0.5rem 0.9rem; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }

.report-template { margin: 0; padding: 0.9rem 1rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.7; color: var(--mist); white-space: pre-wrap; overflow-x: auto; }

.report-note { display: flex; gap: 0.5rem; margin-top: 1rem; font-size: 0.8rem; color: var(--dim); line-height: 1.6; }

.report-note svg { flex: 0 0 auto; width: 0.9rem; height: 0.9rem; margin-top: 0.2rem; color: var(--pink); }

.cover-grid { display: grid; gap: 1rem; }

.cover { padding: 1.4rem; }

.cover-title { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; }

.cover-title svg { width: 1rem; height: 1rem; }

.cover-yes { border-color: rgba(61, 220, 151, 0.3); }

.cover-yes .cover-title svg { color: var(--good); }

.cover-no { border-color: rgba(255, 180, 84, 0.3); }

.cover-no .cover-title svg { color: var(--warn); }

.cover ul { list-style: none; margin-top: 0.9rem; display: grid; gap: 0.45rem; }

.cover li { position: relative; padding-left: 1.1rem; font-size: 0.88rem; color: var(--mist); line-height: 1.55; }

.cover li::before { content: ""; position: absolute; left: 0; top: 0.6rem; width: 0.4rem; height: 0.4rem; border-radius: 999px; background: var(--vi-grad-btn); }

.cover-no li::before { background: linear-gradient(135deg, var(--vi-orange), var(--vi-gold)); }

.support-free { display: flex; gap: 0.5rem; margin-top: 1rem; font-size: 0.86rem; color: var(--mist); line-height: 1.6; }

.support-free svg { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--vi-gold); }

.support-free a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }

.paperwork { padding: 1.5rem; }

@media (min-width: 640px) {
  .lanes { grid-template-columns: repeat(3, 1fr); }
  .cover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .lanes { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .lanes { grid-template-columns: repeat(3, 1fr); }
  .support-two { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.palms-skyline { display: block; }
.hero-palms, .footer-palms { height: auto; aspect-ratio: 1600 / 420; }
.free-zone-palms { height: auto; aspect-ratio: 3000 / 420; max-height: 100%; }
.footer-palms-wide { aspect-ratio: 3000 / 420; }
.footer-sunset { height: auto; min-height: 0; aspect-ratio: 3000 / 420; }
.footer-sun {
  width: auto;
  height: 112%;
  aspect-ratio: 1;
  bottom: -56%;
  opacity: 0.95;
  -webkit-mask: linear-gradient(to bottom, #000 0 29%, transparent 29% 31%, #000 31% 36%, transparent 36% 39%, #000 39% 43%, transparent 43% 47%, #000 47% 50%, transparent 50% 100%);
  mask: linear-gradient(to bottom, #000 0 29%, transparent 29% 31%, #000 31% 36%, transparent 36% 39%, #000 39% 43%, transparent 43% 47%, #000 47% 50%, transparent 50% 100%);
}
.cta-card .cta-palm { bottom: -3%; width: auto; height: clamp(5.5rem, 86%, 14rem); }
@media (min-width: 761px) { .footer-palms-narrow { display: none; } }
@media (max-width: 760px) {
  .footer-palms-wide { display: none; }
  .footer-sunset { aspect-ratio: 1600 / 420; }
}
.cta-card .cta-palm { height: clamp(5rem, 72%, 11.5rem); bottom: -2%; }
.cta-card .cta-palm-l { left: 0.5%; }
.cta-card .cta-palm-r { right: 0.5%; }
