/* =========================================================
   BrushStash — landing page
   Style: purple/black oil impasto + neon cash green
   ========================================================= */

:root {
  --ink: #07040B;
  --night: #120820;
  --plum: #2B0F4A;
  --violet: #7A2BD9;
  --violet-2: #9B4DF0;
  --lilac: #C99BFF;
  --cash: #7DFF5A;
  --cash-hi: #C2FF95;
  --cash-lo: #36BF4E;
  --mint: #E2FFD0;

  --text: #F4EEFF;
  --muted: #A897C4;
  --soft: #D3C4EA;
  --line: rgba(201, 155, 255, .16);
  --glass: rgba(18, 8, 30, .6);
  --on-cash: #04210E;

  --f-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --f-ui: "DM Sans", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;

  --paint-cash:
    repeating-linear-gradient(98deg, rgba(255,255,255,.20) 0 1.5px, transparent 1.5px 6px),
    repeating-linear-gradient(94deg, rgba(10,60,25,.16) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, var(--cash-hi) 0%, var(--cash) 42%, var(--cash-lo) 100%);

  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.55 var(--f-ui);
  overflow-x: hidden;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; margin: 0; }
h1 em, h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--cash);
}

:focus-visible { outline: 2px solid var(--cash); outline-offset: 3px; border-radius: 8px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 18px;
  font: 700 17px/1 var(--f-ui);
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 14px; }
.btn-paint { color: var(--on-cash); }
.btn-paint::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--paint-cash);
  box-shadow: inset 0 -3px 0 rgba(10,70,30,.35), inset 0 2px 0 rgba(255,255,255,.45);
  filter: url(#rough);
}
.btn-paint::after {
  content: "";
  position: absolute; inset: 8px 12px -6px; z-index: -2;
  border-radius: inherit;
  background: var(--cash);
  filter: blur(18px);
  opacity: .4;
  transition: opacity .2s ease;
}
.btn-paint:hover::after { opacity: .7; }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,4,11,.72);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; border-radius: 11px; }
.logo span { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.nav-links { display: flex; gap: 32px; font-size: 15px; font-weight: 600; color: var(--soft); }
.nav-links a:hover { color: var(--cash); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: -40px; z-index: -1;
  background: url(assets/walls/bg-blur.jpg) center / cover no-repeat;
  filter: blur(34px) brightness(.36) saturate(1.3);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 75% 40%, rgba(122,43,217,.35), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--ink) 100%);
}
.hero-in {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
  min-height: 720px;
  padding: 64px 0 80px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; margin: 0 0 22px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600;
  background: var(--glass);
  border: 1px solid var(--line);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cash); box-shadow: 0 0 12px var(--cash); }
.hero h1 {
  font-size: clamp(54px, 7.4vw, 104px);
  line-height: .92;
  letter-spacing: -.045em;
}
.hero h1 em { font-size: 1.08em; text-shadow: 0 0 40px rgba(125,255,90,.3); }
.hero-sub { margin: 24px 0 32px; font-size: 19px; color: var(--soft); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.facts {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 14.5px; font-weight: 600; color: var(--soft);
}
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts .ic { color: var(--cash); width: 18px; height: 18px; }

/* Phone mockups */
.mock {
  width: 250px;
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(150deg, #2c1d3e, #0b0710 40%, #0b0710 70%, #251633);
  box-shadow:
    0 0 0 1.5px rgba(201,155,255,.28),
    0 40px 80px -24px rgba(0,0,0,.9),
    0 0 100px -30px rgba(122,43,217,.6);
}
.scr { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: var(--night); }
.scr img { width: 100%; height: 100%; object-fit: cover; }
.scr::before {
  content: "";
  position: absolute; top: 9px; left: 50%; z-index: 2;
  width: 76px; height: 22px; margin-left: -38px;
  border-radius: 12px; background: #000;
}
.lt {
  position: absolute; top: 46px; left: 0; right: 0; z-index: 1;
  text-align: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: 66px; line-height: 1; letter-spacing: -.05em;
  color: rgba(244,238,255,.94);
  text-shadow: 0 2px 20px rgba(43,15,74,.8);
}
.lt small {
  display: block; margin-bottom: 2px;
  font-family: var(--f-ui); font-weight: 600;
  font-size: 11.5px; letter-spacing: 0;
}
.hero-phones { position: relative; height: 600px; }
.hero-phones .mock { position: absolute; top: 50%; left: 50%; }
.mock-c { transform: translate(-50%, -50%); z-index: 3; }
.mock-l { transform: translate(-50%, -50%) translate(-150px, 30px) rotate(-11deg) scale(.86); z-index: 1; opacity: .92; }
.mock-r { transform: translate(-50%, -50%) translate(150px, 30px) rotate(11deg) scale(.86); z-index: 2; opacity: .92; }

/* =========================================================
   Marquee
   ========================================================= */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  transform: rotate(-2deg);
  margin: -10px -20px 0;
  background: linear-gradient(90deg, rgba(43,15,74,.5), rgba(18,8,32,.9), rgba(43,15,74,.5));
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 70s linear infinite; }
.marquee-track img {
  height: 200px; width: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(201,155,255,.16);
}
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* =========================================================
   Sections
   ========================================================= */
.section { position: relative; padding: 100px 0; isolation: isolate; }
.section-tex::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url(assets/walls/section-texture.jpg) center / cover;
  opacity: .16;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-left { text-align: left; margin: 0; }
.eyebrow {
  display: inline-block;
  position: relative; isolation: isolate;
  margin: 0 0 16px; padding: 5px 14px;
  font-size: 12.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-cash);
}
.eyebrow::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: 8px;
  background: var(--paint-cash);
  filter: url(#rough);
}
.section h2 { font-size: clamp(40px, 5.4vw, 68px); line-height: .98; }
.sec-sub { margin: 18px auto 0; font-size: 18px; color: var(--soft); max-width: 36em; }

/* Packs */
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pack {
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(43,15,74,.55), rgba(14,6,24,.9) 60%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
  transition: transform .3s ease, border-color .3s ease;
}
.pack:hover { transform: translateY(-4px); border-color: rgba(125,255,90,.35); }
.pack-art {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 22px 22px 0;
}
.pack-art img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(201,155,255,.16), 0 16px 30px -12px rgba(0,0,0,.7);
  transition: transform .3s ease;
}
.pack-art img:nth-child(odd) { transform: translateY(14px); }
.pack:hover .pack-art img:nth-child(odd) { transform: translateY(6px); }
.pack:hover .pack-art img:nth-child(even) { transform: translateY(-6px); }
.pack-no {
  position: absolute; top: 34px; left: 34px;
  height: 28px; padding: 0 12px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-cash); background: var(--cash);
  box-shadow: 0 6px 20px -4px rgba(125,255,90,.6);
}
.pack-body { padding: 40px 32px 32px; }
.pack h3 { font-size: 40px; line-height: 1; }
.pack-desc { margin: 10px 0 22px; color: var(--soft); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--on-cash); background: var(--cash); stroke-width: 3; }
.buy-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.price b { font-family: var(--f-display); font-size: 46px; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 14px; color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201,155,255,.16);
}
.g img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform .5s ease; }
.g:hover img { transform: scale(1.04); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 40px 16px 14px;
  font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(7,4,11,.9));
}
.g figcaption span {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--lilac); background: rgba(122,43,217,.3); border: 1px solid rgba(155,77,240,.4);
}

/* Lock screen split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 72px; }
.split-art { display: grid; place-items: center; position: relative; }
.split-art::before {
  content: "";
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(125,255,90,.22), transparent 65%);
  filter: blur(10px);
}
.mock-solo { position: relative; width: 300px; transform: rotate(-4deg); }
.mock-solo .lt { top: 56px; font-size: 80px; }
.mock-solo .scr::before { width: 90px; height: 26px; margin-left: -45px; top: 11px; }
.points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 26px; }
.points li { display: flex; gap: 18px; }
.point-ic {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  color: var(--cash);
  background: rgba(125,255,90,.08);
  border: 1px solid rgba(125,255,90,.28);
}
.point-ic .ic { width: 24px; height: 24px; }
.points b { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; }
.points p { margin: 4px 0 0; color: var(--soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: 28px;
  background: rgba(14,6,24,.75);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.step-no {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--f-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(201,155,255,.35);
}
.step-ic {
  width: 52px; height: 52px; padding: 13px;
  border-radius: 16px;
  color: var(--on-cash); background: var(--cash);
  stroke-width: 2.1;
}
.steps h3 { margin-top: 22px; font-size: 26px; }
.steps p { margin: 6px 0 0; color: var(--soft); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  transition: border-color .2s ease, background .2s ease;
}
.faq details[open] { background: rgba(43,15,74,.35); border-color: rgba(155,77,240,.4); }
.faq summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 700; font-size: 17.5px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--cash); transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--soft); }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 130px 0; text-align: center; }
.final-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url(assets/walls/pc/cash-rain.jpg) center / cover no-repeat;
}
.final-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 50% 55%, rgba(7,4,11,.55), rgba(7,4,11,.88)),
    linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink));
}
.final-icon {
  margin: 0 auto 24px;
  width: 88px; height: 88px; border-radius: 22px;
  box-shadow: 0 18px 50px -10px rgba(122,43,217,.9);
}
.final h2 { font-size: clamp(48px, 7vw, 92px); line-height: .95; }
.final p { margin: 16px 0 34px; font-size: 19px; color: var(--soft); }
.final-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer .logo img { width: 34px; height: 34px; border-radius: 9px; }
.footer .logo span { font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14.5px; color: var(--soft); }
.footer-links a:hover { color: var(--cash); }
.copy { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Mobile buy bar (hidden on desktop) */
.buybar { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 56px 0 40px; gap: 24px; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .facts { justify-content: center; }
  .hero-phones { height: 560px; }
  .packs { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split-copy { max-width: 620px; margin-inline: auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .sec-left { text-align: center; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 84px; }
  .nav-links { display: none; }
  .nav-in { height: 64px; }
  .logo span { font-size: 20px; }
  .hero-sub { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-phones { height: 440px; }
  .mock { width: 190px; border-radius: 32px; padding: 7px; }
  .scr { border-radius: 26px; }
  .scr::before { width: 58px; height: 17px; margin-left: -29px; top: 7px; }
  .lt { top: 34px; font-size: 50px; }
  .lt small { font-size: 9.5px; }
  .mock-l { transform: translate(-50%, -50%) translate(-96px, 24px) rotate(-11deg) scale(.84); }
  .mock-r { transform: translate(-50%, -50%) translate(96px, 24px) rotate(11deg) scale(.84); }
  .marquee-track img { height: 150px; }
  .section { padding: 84px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-sub { font-size: 16.5px; }
  .pack-art { gap: 7px; padding: 16px 16px 0; }
  .pack-art img { border-radius: 12px; }
  .pack-no { top: 26px; left: 26px; }
  .pack-body { padding: 34px 22px 24px; }
  .pack h3 { font-size: 34px; }
  .buy-row .btn { flex: 1 1 100%; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .g { border-radius: 16px; }
  .g figcaption { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13.5px; padding: 30px 12px 12px; }
  .mock-solo { width: 230px; }
  .mock-solo .lt { top: 42px; font-size: 60px; }
  .split-art::before { width: 300px; height: 300px; }
  .steps { grid-template-columns: 1fr; }
  .final { padding: 96px 0; }
  .final-ctas .btn { flex: 1 1 100%; }
  .footer-in { flex-direction: column; align-items: flex-start; }

  .buybar {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; align-items: center; gap: 12px;
    padding: 9px 9px 9px 10px;
    border-radius: 20px;
    background: rgba(14,6,24,.9);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.8);
  }
  .buybar img { width: 34px; height: 60px; object-fit: cover; border-radius: 8px; }
  .buybar p { margin: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
  .buybar b { font-size: 15px; }
  .buybar span { font-size: 13px; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .btn, .pack, .pack-art img, .g img { transition: none; }
}

/* =========================================================
   JS version additions (store)
   ========================================================= */

/* Buttons that are <button>s */
button.btn:not(.btn-ghost) { border: 0; background: none; cursor: pointer; }
button.btn { cursor: pointer; }
.buy-form { margin: 0; }
.btn.loading { pointer-events: none; opacity: .85; }
.btn.loading::before { animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { filter: url(#rough) brightness(1.15); } }
.btn-block { width: 100%; }

.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 26px 0 0;
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.secure-note .ic { width: 16px; height: 16px; color: var(--cash); }

/* Scroll reveal (only when JS is running) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}
.js [data-reveal].in { opacity: 1; transform: none; }
.js .packs > [data-reveal]:nth-child(2) { transition-delay: .12s; }

/* Gallery tiles are buttons that open the viewer */
.g {
  display: block; width: 100%;
  padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-align: left;
  cursor: zoom-in;
}
.g .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 40px 16px 14px;
  font-weight: 700; font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(7,4,11,.9));
}
.g .cap span {
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  color: var(--lilac); background: rgba(122,43,217,.3); border: 1px solid rgba(155,77,240,.4);
}
.peek {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--on-cash); background: var(--cash);
  opacity: 0; transform: scale(.8);
  transition: opacity .25s ease, transform .25s ease;
}
.peek .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.g:hover .peek, .g:focus-visible .peek { opacity: 1; transform: none; }

/* Wallpaper viewer dialog */
.viewer {
  inset: 0; margin: 0;
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  padding: 0; border: 0;
  background: transparent; color: var(--text);
}
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop {
  background: rgba(7, 4, 11, .84);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}
.viewer-in { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 24px 16px; }
.viewer-stage { display: flex; align-items: center; gap: 20px; touch-action: pan-y; user-select: none; }
.viewer .mock-view { width: min(300px, 64vw, calc((100dvh - 230px) * 9 / 19.5)); }
.viewer .mock-view .lt { top: 13%; font-size: min(76px, 17vw); }
.viewer .mock-view .lt small { font-size: 12px; }
.viewer-nav, .viewer-close {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line);
  cursor: pointer;
}
.viewer-nav:hover, .viewer-close:hover { border-color: var(--cash); color: var(--cash); }
.viewer-close { position: fixed; top: 18px; right: 18px; }
.viewer-info { text-align: center; }
.viewer-pack { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.viewer-info h3 { margin: 6px 0 16px; font-size: 34px; }

/* Toast */
.toast {
  position: fixed; top: 86px; left: 50%; z-index: 80;
  width: max-content;
  max-width: min(520px, calc(100vw - 32px));
  text-align: center;
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 15px; font-weight: 600;
  background: rgba(14,6,24,.95);
  border: 1px solid rgba(125,255,90,.4);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.8);
  transform: translate(-50%, -12px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Thank-you page */
.thanks-body { min-height: 100dvh; padding-bottom: 0; }
.thanks-bg {
  position: fixed; inset: -40px; z-index: -1;
  background: url(assets/walls/bg-blur.jpg) center / cover no-repeat;
  filter: blur(36px) brightness(.32) saturate(1.3);
}
.thanks {
  min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 40px 16px;
}
.thanks-card {
  width: min(520px, 100%);
  padding: 36px 32px;
  border-radius: 32px;
  text-align: center;
  background: rgba(14,6,24,.86);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9);
}
.thanks-card h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1; margin: 0; }
.thanks-card h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--cash); }
.thanks-sub { margin: 12px 0 24px; color: var(--soft); }
.thanks-cover {
  width: 120px; margin: 0 auto 22px;
  transform: rotate(-4deg);
}
.thanks-cover img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 0 0 4px #0b0710, 0 0 0 5px rgba(201,155,255,.3), 0 20px 50px -10px rgba(122,43,217,.8);
}
.thanks-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.howto {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 26px; text-align: left;
}
.howto div { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.howto b { font-size: 14px; }
.howto p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--soft); }
.demo-note {
  margin: 20px 0 0; padding: 8px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: #FFD9A0; background: rgba(255,170,60,.12); border: 1px solid rgba(255,170,60,.35);
}
.spinner {
  display: block; width: 44px; height: 44px; margin: 0 auto 20px;
  border-radius: 50%;
  border: 4px solid rgba(201,155,255,.2);
  border-top-color: var(--cash);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .buy-row .buy-form, .final-ctas .buy-form { flex: 1 1 100%; }
  .buy-row .buy-form .btn, .final-ctas .buy-form .btn { width: 100%; }
  .viewer .mock-view { width: min(250px, 66vw, calc((100dvh - 210px) * 9 / 19.5)); }
  .viewer-stage { gap: 10px; }
  .viewer-nav { width: 42px; height: 42px; }
  .viewer-info h3 { font-size: 28px; }
  .thanks-body { padding-bottom: 0; }
  .thanks-card { padding: 28px 20px; }
  .howto { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .spinner { animation-duration: 2s; }
  .toast, .peek { transition: none; }
}

/* =========================================================
   Phone + PC version
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Laptop mockup */
.laptop { position: relative; width: 100%; }
.lap-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 9px solid #0b0710;
  border-bottom-width: 14px;
  border-radius: 16px 16px 4px 4px;
  overflow: hidden;
  background: var(--night);
  box-shadow: 0 0 0 1.5px rgba(201,155,255,.28), 0 40px 80px -30px rgba(0,0,0,.9);
}
.lap-screen > img { width: 100%; height: 100%; object-fit: cover; }
.lap-base {
  position: relative;
  height: 12px;
  width: 116%;
  margin-left: -8%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #3a2a4c, #150c20 70%);
  box-shadow: 0 0 0 1px rgba(201,155,255,.2), 0 18px 30px -12px rgba(0,0,0,.9);
}
.lap-base::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  width: 16%; height: 5px; margin-left: -8%;
  border-radius: 0 0 6px 6px;
  background: rgba(0,0,0,.45);
}
.lap-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 18px; padding: 0 10px;
  display: flex; align-items: center; justify-content: flex-end;
  font-size: 10px; font-weight: 700; color: rgba(244,238,255,.85);
  background: rgba(7,4,11,.35);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

/* Hero: laptop with a phone in front */
.hero-devices { position: relative; height: 560px; display: grid; place-items: center; }
.hero-laptop { width: min(560px, 100%); transform: translateX(28px) rotate(-1.5deg); }
.hero-phone {
  position: absolute; left: 2%; bottom: 40px;
  width: 190px;
  transform: rotate(-6deg);
  z-index: 2;
}
.hero-phone .lt { top: 34px; font-size: 50px; }
.hero-phone .lt small { font-size: 9.5px; }

/* Marquee: wide PC walls */
.marquee-track img.wide { aspect-ratio: 16 / 9; }

/* Device switch */
.device-switch {
  display: flex; justify-content: center; gap: 6px;
  width: max-content; max-width: 100%;
  margin: 0 auto 36px; padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(14,6,24,.8);
}
.device-switch label { position: relative; }
.device-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.device-switch span {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 999px;
  font-weight: 700; font-size: 15.5px;
  color: var(--soft);
  transition: color .2s ease;
}
.device-switch span .ic { width: 19px; height: 19px; }
.device-switch input:checked + span { color: var(--on-cash); }
.device-switch input:checked + span::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--paint-cash);
  filter: url(#rough);
}
.device-switch input:focus-visible + span { outline: 2px solid var(--cash); outline-offset: 3px; }
.device-switch label:hover input:not(:checked) + span { color: var(--text); }

/* Pack art: three layouts stacked in one cell, cross-fading */
.pack-art { display: grid; padding: 22px 22px 0; }
.pack-art > .art { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; }
.art-mobile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-self: start; }
.art-mobile img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(201,155,255,.16), 0 16px 30px -12px rgba(0,0,0,.7);
  transition: transform .3s ease;
}
.art-mobile img:nth-child(odd) { transform: translateY(14px); }
.pack:hover .art-mobile img:nth-child(odd) { transform: translateY(6px); }
.pack:hover .art-mobile img:nth-child(even) { transform: translateY(-6px); }
.art-pc, .art-both { display: grid; place-items: center; padding: 6px 8% 20px; }
.art-pc .laptop, .art-both .laptop { width: 100%; }
.art-both { position: relative; padding-right: 14%; }
.mini-phone { width: 92px; padding: 5px; border-radius: 18px; }
.mini-phone .scr { border-radius: 14px; }
.mini-phone .scr::before { width: 26px; height: 7px; margin-left: -13px; top: 5px; border-radius: 5px; }
.art-both .mini-phone { position: absolute; right: 4%; bottom: 14px; transform: rotate(5deg); }
.packs .art { opacity: 0; visibility: hidden; transform: scale(.97); }
.packs[data-device="mobile"] .art-mobile,
.packs[data-device="pc"] .art-pc,
.packs[data-device="both"] .art-both { opacity: 1; visibility: visible; transform: none; }
.packs .pack-art img:nth-child(odd) { transform: none; } /* reset old rule */
.packs .art-mobile img:nth-child(odd) { transform: translateY(14px); }

/* Bundle */
.bundle {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px;
  margin-top: 28px;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(125,255,90,.12), transparent 70%),
    linear-gradient(180deg, rgba(43,15,74,.65), rgba(14,6,24,.92));
  border: 1.5px solid rgba(125,255,90,.45);
  box-shadow: 0 0 60px -20px rgba(125,255,90,.35), 0 40px 80px -40px rgba(0,0,0,.8);
}
.best {
  position: absolute; top: -15px; left: 50%;
  transform: translateX(-50%);
  height: 30px; padding: 0 16px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-cash); background: var(--cash);
  box-shadow: 0 8px 24px -6px rgba(125,255,90,.7);
}
.bundle-art { position: relative; padding: 10px 14% 30px 4%; }
.bundle-art .mini-phone { position: absolute; bottom: 10px; }
.bundle-art .bp-1 { right: 9%; transform: rotate(-4deg); }
.bundle-art .bp-2 { right: 0; bottom: 22px; transform: rotate(7deg); }
.bundle-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.bundle h3 { font-size: 44px; line-height: 1; }
.price s { font-size: 18px; color: var(--muted); align-self: center; }
.price .save {
  padding: 3px 9px; border-radius: 999px;
  font-size: 13px; font-weight: 800; color: var(--cash);
  background: rgba(125,255,90,.12); border: 1px solid rgba(125,255,90,.35);
}

/* Gallery filter chips */
.filters { display: flex; justify-content: center; gap: 8px; margin: -24px 0 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 18px;
  border-radius: 999px;
  font: 700 15px/1 var(--f-ui);
  color: var(--soft);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  cursor: pointer;
}
.chip .ic { width: 17px; height: 17px; }
.chip:hover { color: var(--text); }
.chip.on { color: var(--on-cash); background: var(--cash); border-color: var(--cash); }

/* Gallery: phone tiles 1 column, PC tiles 2 columns, same row height */
.gallery { grid-auto-flow: dense; }
.g[hidden] { display: none; }
.g-pc { grid-column: span 2; }
.g-pc img { aspect-ratio: auto; height: 100%; }

/* Before / after slider */
.compare { max-width: 900px; margin: 0 auto; padding: 0 4%; }
.compare-screen { --pos: 50%; cursor: ew-resize; touch-action: pan-y; }
.cmp-before {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(140,200,255,.55), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(40,90,190,.8), transparent 60%),
    linear-gradient(160deg, #3d7bd6 0%, #2856a8 45%, #173a7a 100%);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.desk-icons {
  position: absolute; top: 30px; left: 16px;
  display: grid; gap: 14px;
  pointer-events: none;
}
.desk-icons i {
  display: block; width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.desk-icons i:nth-child(2) { background: rgba(255,214,90,.9); }
.desk-icons i:nth-child(3) { background: rgba(160,220,255,.9); }
.cmp-tag {
  position: absolute; bottom: 14px;
  padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(7,4,11,.7);
  pointer-events: none;
}
.cmp-tag-before { left: 14px; color: #CFE3FF; }
.cmp-tag-after { right: 14px; color: var(--cash); }
.cmp-line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; margin-left: -1.5px;
  background: var(--cash);
  box-shadow: 0 0 16px rgba(125,255,90,.8);
  pointer-events: none;
}
.cmp-knob {
  position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--on-cash); background: var(--cash);
  box-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.cmp-knob .ic { stroke-width: 2.4; }
.cmp-range {
  position: absolute; inset: 0;
  width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize;
}
.cmp-range:focus-visible ~ .cmp-line .cmp-knob,
.compare-screen:has(.cmp-range:focus-visible) .cmp-knob { outline: 3px solid #fff; outline-offset: 3px; }

/* Viewer: laptop variant */
.viewer .view-laptop { width: min(820px, 78vw, calc((100dvh - 260px) * 16 / 10)); }
.viewer .view-laptop[hidden], .viewer .mock-view[hidden] { display: none; }

/* Buy bar: wide thumbnail for PC */
.buybar img.wide { width: 64px; height: 36px; align-self: center; }

/* Thank-you page extras */
.downloads { display: grid; gap: 10px; }
.thanks-cover.wide { width: 220px; }
.thanks-cover.wide img { aspect-ratio: 16 / 9; }
.howto [hidden] { display: none; }

/* Responsive for the new parts */
@media (max-width: 1000px) {
  .hero-devices { height: 440px; max-width: 620px; margin: 0 auto; width: 100%; }
  .bundle { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; padding-top: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hero-devices { height: 330px; }
  .hero-laptop { width: 88%; transform: translateX(16px); }
  .hero-phone { width: 118px; left: 0; bottom: 18px; padding: 5px; border-radius: 22px; }
  .hero-phone .scr { border-radius: 18px; }
  .hero-phone .scr::before { width: 34px; height: 10px; margin-left: -17px; top: 5px; }
  .hero-phone .lt { top: 22px; font-size: 30px; }
  .hero-phone .lt small { font-size: 6.5px; }
  .device-switch { gap: 2px; padding: 4px; }
  .device-switch span { height: 42px; padding: 0 13px; font-size: 14px; gap: 6px; }
  .device-switch span .ic { width: 16px; height: 16px; }
  .art-mobile { gap: 7px; }
  .art-mobile img { border-radius: 12px; }
  .mini-phone { width: 66px; padding: 4px; border-radius: 14px; }
  .mini-phone .scr { border-radius: 10px; }
  .lap-screen { border-width: 6px; border-bottom-width: 10px; border-radius: 12px 12px 3px 3px; }
  .lap-base { height: 9px; }
  .lap-bar { height: 14px; font-size: 8px; }
  .bundle { padding: 32px 18px 22px; }
  .bundle h3 { font-size: 34px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .filters { margin-top: -12px; }
  .desk-icons { top: 22px; left: 10px; gap: 8px; }
  .desk-icons i { width: 22px; height: 22px; border-radius: 6px; }
  .cmp-knob { width: 38px; height: 38px; margin: -19px 0 0 -19px; }
  .cmp-tag { bottom: 8px; font-size: 10px; }
  .viewer .view-laptop { width: min(560px, 74vw); }
}
@media (prefers-reduced-motion: reduce) {
  .pack-art > .art, .device-switch span { transition: none; }
}

/* Pack art fixes: the stacked layouts use one grid cell, and laptop/mini-phone
   screenshots must not inherit the phone-thumbnail image rules above. */
.packs .pack-art { grid-template-columns: 1fr; gap: 0; }
.pack .pack-art .art .lap-screen > img,
.pack .pack-art .art .mini-phone .scr > img {
  width: 100%; height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* Hero balance: laptop leads, phone tucked into the corner */
.hero-laptop { width: min(600px, 100%); transform: translateX(46px); }
.hero-phone { width: 150px; left: -6px; bottom: 64px; padding: 7px; border-radius: 30px; }
.hero-phone .scr { border-radius: 24px; }
.hero-phone .scr::before { width: 46px; height: 13px; margin-left: -23px; top: 7px; }
.hero-phone .lt { top: 28px; font-size: 40px; }
.hero-phone .lt small { font-size: 8px; }
@media (max-width: 760px) {
  .hero-laptop { width: 86%; transform: translateX(20px); }
  .hero-phone { width: 96px; left: 0; bottom: 30px; padding: 4px; border-radius: 19px; }
  .hero-phone .scr { border-radius: 15px; }
  .hero-phone .scr::before { width: 28px; height: 8px; margin-left: -14px; top: 4px; }
  .hero-phone .lt { top: 18px; font-size: 25px; }
  .hero-phone .lt small { font-size: 5.5px; }
}

/* Keep the three pack layouts close in height so switching doesn't leave gaps */
.packs .pack-art > .art { align-self: center; }
.art-pc { padding: 4px 13% 18px; }
.art-both { padding: 4px 22% 18px 6%; }
.art-both .mini-phone { right: 6%; bottom: 8px; }

/* Previews only: make casual saving harder (screenshots can't be blocked,
   which is why every public image is also small and watermarked). */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.preview-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 26px auto 0; max-width: 620px;
  font-size: 14px; color: var(--muted); text-align: center;
}
.preview-note .ic { width: 16px; height: 16px; color: var(--cash); flex: none; }
