/* =====================================================================
   BYTECRAFT — styles
   ===================================================================== */

:root {
  --ink: #0a0002;
  --wine: #2b0009;
  --blood: #5a0012;
  --red: #e3121f;
  --red-hi: #ff2d3b;
  --rose: #ff7a85;
  --gold: #ffc56b;
  --ok: #3ddc97;
  --text: #fff5f6;
  --muted: rgba(255, 228, 232, .68);
  --faint: rgba(255, 228, 232, .42);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --glass: rgba(18, 0, 5, .58);
  --glass-2: rgba(48, 0, 12, .45);
  --grad-red: linear-gradient(135deg, #ff3b48 0%, #d80f22 45%, #8a0016 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #ffb3ba 35%, #ff2d3b 70%, #ff7a85 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
  --glow: 0 12px 40px -10px rgba(255, 30, 50, .6);
  --f-display: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --hdr-h: 74px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--ink); overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: transparent; /* the page colour lives on <html> so the fixed background layers show through */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg:not([width]) { width: 1.1em; height: 1.1em; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #120004; }
::-webkit-scrollbar-thumb { background: linear-gradient(#ff2d3b, #7a0012); border-radius: 10px; border: 2px solid #120004; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
section[id], footer[id] { scroll-margin-top: 70px; }

/* protected images: no drag, no select */
.protect img, img.protect { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; pointer-events: none; }

/* ---------------------------------------------------------------- background */
.bg { position: fixed; inset: 0; z-index: -4; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(200, 0, 30, .55), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255, 45, 60, .35), transparent 60%),
    linear-gradient(160deg, #0a0002 0%, #2b0009 38%, #5a0012 68%, #160003 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: bgShift 24s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0% { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 30% 20%, 70% 70%, 0 0; }
}
.bg__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.bg__blob--1 { width: 46vmax; height: 46vmax; background: #c4001a; top: -18vmax; left: -12vmax; animation: blob1 26s ease-in-out infinite alternate; }
.bg__blob--2 { width: 38vmax; height: 38vmax; background: #ff2d3b; bottom: -16vmax; right: -12vmax; opacity: .28; animation: blob2 32s ease-in-out infinite alternate; }
.bg__blob--3 { width: 28vmax; height: 28vmax; background: #7a0036; top: 35%; left: 45%; opacity: .35; animation: blob3 38s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-22vw, -18vh) scale(1.2); } }
@keyframes blob3 { to { transform: translate(-30vw, 20vh) scale(.85); } }
.bg__grid { position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 75%);
  animation: gridMove 18s linear infinite;
}
@keyframes gridMove { to { background-position: 0 46px, 46px 0; } }
#binary-rain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; pointer-events: none; opacity: .6; }
.bg-vignette { position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(6, 0, 1, .7) 100%); }
.cursor-glow { position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255, 45, 60, .20), transparent 62%); opacity: 0; transition: opacity .4s; will-change: transform; }
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------------------------------------------------------------- type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before { content: '01'; font-weight: 700; color: #fff; background: var(--grad-red); padding: 2px 7px; border-radius: 6px; letter-spacing: .05em; box-shadow: var(--glow); }
.eyebrow[data-bits]::before { content: attr(data-bits); }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.3rem); font-weight: 700; letter-spacing: -.02em; }
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
.h-md { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.mono { font-family: var(--f-mono); }
.grad-text { background: var(--grad-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradText 6s linear infinite; }
@keyframes gradText { to { background-position: 200% center; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 10px; }

/* ---------------------------------------------------------------- buttons */
.btn { --bg: rgba(255, 255, 255, .06); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; letter-spacing: .01em; overflow: hidden; isolation: isolate;
  background: var(--bg); border: 1px solid var(--line-2); color: #fff; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn--primary { background: var(--grad-red); border-color: rgba(255, 120, 130, .5); box-shadow: var(--glow); }
.btn--primary:hover { box-shadow: 0 18px 50px -10px rgba(255, 40, 60, .85); }
.btn--primary::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--light { background: #fff; color: #7a0012; border-color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); pointer-events: none; animation: ripple .65s ease-out forwards; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); transition: transform .25s var(--ease-back), background .25s; flex: none; }
.icon-btn:hover { background: var(--red); transform: rotate(90deg) scale(1.08); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.is-added { background: var(--ok); border-color: var(--ok); color: #05210f; transform: none; }

/* ---------------------------------------------------------------- loader + page transition */
#loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #5a0012, #0a0002 70%);
  animation: loaderFailsafe .5s 4.5s forwards; }
html.no-intro #loader { display: none; }
#loader.is-done { animation: loaderOut .7s var(--ease) forwards; }
@keyframes loaderOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes loaderFailsafe { to { opacity: 0; visibility: hidden; } }
.loader__box { text-align: center; }
.loader__icon { width: 84px; margin: 0 auto 18px; animation: loaderBob 1.2s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(255, 45, 60, .7)); }
@keyframes loaderBob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.loader__word { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 6vw, 3rem); letter-spacing: .2em; min-height: 1.2em; }
.loader__bits { font-family: var(--f-mono); color: var(--rose); font-size: .8rem; letter-spacing: .3em; margin-top: 10px; opacity: .8; }
.loader__bar { width: 220px; height: 3px; margin: 18px auto 0; background: rgba(255, 255, 255, .1); border-radius: 3px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 0; background: var(--grad-red); box-shadow: 0 0 12px var(--red-hi); animation: loadBar 1.1s var(--ease) forwards; }
@keyframes loadBar { to { width: 100%; } }

.ptrans { position: fixed; inset: 0; z-index: 999; pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.ptrans i { background: linear-gradient(180deg, #8a0016, #2b0009); transform: scaleY(0); transform-origin: bottom; }
.ptrans.is-leaving i { animation: ptIn .45s var(--ease) forwards; }
.ptrans.is-entering i { transform: scaleY(1); transform-origin: top; animation: ptOut .5s var(--ease) forwards; }
.ptrans i:nth-child(2) { animation-delay: .04s !important; }
.ptrans i:nth-child(3) { animation-delay: .08s !important; }
.ptrans i:nth-child(4) { animation-delay: .12s !important; }
.ptrans i:nth-child(5) { animation-delay: .16s !important; }
@keyframes ptIn { to { transform: scaleY(1); } }
@keyframes ptOut { to { transform: scaleY(0); } }

/* ---------------------------------------------------------------- header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr-h); transition: height .35s var(--ease), background .35s, border-color .35s, box-shadow .35s;
  border-bottom: 1px solid transparent; animation: hdrIn .8s var(--ease) both; }
@keyframes hdrIn { from { transform: translateY(-100%); opacity: 0; } }
.hdr.is-scrolled { --hdr-h: 62px; background: rgba(12, 0, 3, .72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); box-shadow: 0 10px 40px -20px #000; }
.hdr__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr__logo { display: flex; align-items: center; height: 100%; flex: none; }
.hdr__logo img { height: 50px; width: auto; transition: height .35s var(--ease), filter .3s; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .95)) drop-shadow(0 2px 12px rgba(0, 0, 0, .7)); }
.hdr.is-scrolled .hdr__logo img { height: 42px; }
.hdr__logo:hover img { animation: glitch .45s steps(2) 1; }
@keyframes glitch {
  0% { transform: translate(0); filter: drop-shadow(-3px 0 0 rgba(0, 255, 255, .6)) drop-shadow(3px 0 0 rgba(255, 0, 60, .8)); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); filter: drop-shadow(3px 0 0 rgba(0, 255, 255, .6)) drop-shadow(-3px 0 0 rgba(255, 0, 60, .8)); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav__dd > a { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-weight: 600; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; color: rgba(255, 255, 255, .85); transition: color .25s, background .25s; }
.nav > a::after, .nav__dd > a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad-red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav > a:hover, .nav__dd:hover > a { color: #fff; }
.nav > a:hover::after, .nav__dd:hover > a::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: #fff; }
.nav__dd { position: relative; }
.nav__dd > a svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__dd:hover > a svg, .nav__dd:focus-within > a svg { transform: rotate(180deg); }
.nav__menu { position: absolute; top: calc(100% + 8px); left: 50%; width: 290px; padding: 10px; border-radius: var(--radius); background: rgba(20, 0, 6, .92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav__dd:hover .nav__menu, .nav__dd:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav__menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s, transform .25s var(--ease); }
.nav__menu a:hover { background: rgba(255, 45, 60, .16); transform: translateX(4px); }
.nav__menu .mi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-red); box-shadow: var(--glow); flex: none; }
.nav__menu .mi svg { width: 20px; height: 20px; }
.nav__menu b { display: block; font-size: .95rem; }
.nav__menu small { display: block; color: var(--muted); font-size: .78rem; }

.cart-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; transition: background .25s, transform .25s var(--ease); }
.cart-btn:hover { background: var(--red); transform: translateY(-1px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: inline-grid; place-items: center; background: #fff; color: #a00018; font-size: .75rem; font-weight: 800; }
.cart-btn.bump { animation: bump .6s var(--ease-back); }
@keyframes bump { 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.94) rotate(3deg); } }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); position: relative; flex: none; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- hero (home) */
.hero { position: relative; min-height: 100vh; padding: calc(var(--hdr-h) + 40px) 0 80px; display: flex; align-items: center; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero__bits { position: absolute; right: -4vw; top: 50%; transform: translateY(-50%); font-family: var(--f-display); font-weight: 700; font-size: 42vw; line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; user-select: none; z-index: -1; animation: bitsFloat 10s ease-in-out infinite alternate; }
@keyframes bitsFloat { to { transform: translateY(-46%) translateX(-2vw); } }
.hero__side-bits { position: absolute; left: 14px; top: 0; bottom: 0; writing-mode: vertical-rl; white-space: nowrap; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .4em; color: rgba(255, 122, 133, .35); overflow: hidden; pointer-events: none; }
.hero__side-bits span { display: block; animation: sideScroll 30s linear infinite; }
@keyframes sideScroll { to { transform: translateY(-50%); } }
.chip-new { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); font-size: .86rem; font-weight: 500; transition: background .25s, transform .25s var(--ease); }
.chip-new:hover { background: rgba(255, 255, 255, .13); transform: translateX(3px); }
.chip-new b { background: var(--grad-red); padding: 3px 10px; border-radius: 999px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.chip-new .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.hero h1 { margin: 24px 0 22px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(110%) skewY(6deg); opacity: 0; } }
.hero .lead { animation: fadeUp .9s .35s var(--ease) both; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; animation: fadeUp .9s .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
.stats { display: flex; gap: clamp(18px, 4vw, 44px); margin-top: 48px; flex-wrap: wrap; animation: fadeUp .9s .65s var(--ease) both; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; }
.stat span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat + .stat { padding-left: clamp(18px, 4vw, 44px); border-left: 1px solid var(--line-2); }

/* phone stack */
.phones { position: relative; height: min(640px, 76vh); perspective: 1400px; animation: fadeIn 1.2s .3s both; }
@keyframes fadeIn { from { opacity: 0; } }
.phones__stage { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.phone { position: absolute; top: 50%; left: 50%; width: min(280px, 34vh); aspect-ratio: 9 / 19.5; border-radius: 42px; padding: 10px;
  background: linear-gradient(145deg, #3a0a12, #0d0003 60%, #2a0610); box-shadow: 0 40px 80px -30px #000, inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 0 0 1px rgba(0, 0, 0, .6); transform-style: preserve-3d; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #000; }
.phone__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease, transform 6s ease; }
.phone__screen img.is-out { opacity: 0; transform: scale(1.08); }
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 12px; background: #000; z-index: 2; }
.phone__time { position: absolute; top: 18%; left: 0; right: 0; text-align: center; z-index: 2; font-family: var(--f-display); font-size: 2.8rem; font-weight: 600; text-shadow: 0 2px 20px rgba(0, 0, 0, .5); }
.phone__date { position: absolute; top: calc(18% - 18px); left: 0; right: 0; text-align: center; z-index: 2; font-size: .78rem; font-weight: 600; opacity: .9; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.phone--c { transform: translate(-50%, -50%) translateZ(60px); z-index: 3; animation: floatC 6s ease-in-out infinite; }
.phone--l { transform: translate(-112%, -46%) rotateY(18deg) rotateZ(-8deg) scale(.86); z-index: 1; opacity: .9; animation: floatL 7s ease-in-out infinite; }
.phone--r { transform: translate(12%, -54%) rotateY(-18deg) rotateZ(8deg) scale(.86); z-index: 2; opacity: .9; animation: floatR 8s ease-in-out infinite; }
@keyframes floatC { 50% { transform: translate(-50%, -53%) translateZ(60px); } }
@keyframes floatL { 50% { transform: translate(-112%, -50%) rotateY(18deg) rotateZ(-6deg) scale(.86); } }
@keyframes floatR { 50% { transform: translate(12%, -50%) rotateY(-18deg) rotateZ(10deg) scale(.86); } }
.phones__ring { position: absolute; top: 50%; left: 50%; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; border: 1px dashed rgba(255, 122, 133, .25); animation: spin 40s linear infinite; }
.phones__ring::before, .phones__ring::after { content: '1'; position: absolute; top: -12px; left: 50%; font-family: var(--f-mono); font-size: .8rem; color: var(--rose); background: var(--wine); padding: 0 6px; border-radius: 6px; }
.phones__ring::after { content: '0'; top: auto; bottom: -12px; }
.phones__ring--2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; animation-direction: reverse; animation-duration: 28s; border-style: dotted; }
@keyframes spin { to { transform: rotate(360deg); } }
.floaty { position: absolute; z-index: 4; padding: 10px 14px; border-radius: 14px; background: rgba(20, 0, 6, .75); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.floaty svg { width: 18px; height: 18px; color: var(--rose); }
.floaty--1 { bottom: 30%; left: -16px; animation: floaty 5s ease-in-out infinite; }
.floaty--2 { bottom: 14%; right: 0; animation: floaty 6s 1s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

/* ---------------------------------------------------------------- ticker */
.ticker { position: relative; height: 150px; margin: -20px 0; overflow: hidden; }
.ticker__band { position: absolute; left: -5%; right: -5%; top: 50%; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.ticker__band--a { background: var(--grad-red); transform: translateY(-50%) rotate(-2.4deg); z-index: 2; box-shadow: 0 10px 40px -10px rgba(255, 30, 50, .7); }
.ticker__band--b { background: #12000a; border-block: 1px solid var(--line-2); transform: translateY(-50%) rotate(2.4deg); opacity: .95; }
.ticker__track { display: inline-flex; gap: 34px; animation: marquee 38s linear infinite; padding-left: 34px; }
.ticker__band--b .ticker__track { animation-direction: reverse; animation-duration: 46s; }
.ticker__track span { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 34px; }
.ticker__track span.bin { font-family: var(--f-mono); font-weight: 400; font-size: .95rem; opacity: .75; letter-spacing: .2em; }
.ticker__track span::after { content: '✦'; font-size: .8rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- glass card base */
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* ---------------------------------------------------------------- news */
.news { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: auto; gap: 20px; }
.news-card { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; min-height: 240px; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 100, .45); box-shadow: 0 30px 60px -30px rgba(255, 30, 50, .55); }
.news-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 45, 60, .16), transparent 40%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.news-card:hover::before { opacity: 1; }
.news-card__body { display: flex; flex-direction: column; flex: 1; position: relative; }
.news-card:last-child:nth-child(4) { grid-column: span 2; }
.news-card--feature { grid-row: span 2; padding: 0; min-height: 520px; justify-content: flex-end; }
.news-card--feature .news-card__body { flex: none; }
.news-card--feature .news-card__img { position: absolute; inset: 0; }
.news-card--feature .news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.news-card--feature:hover .news-card__img img { transform: scale(1.06); }
.news-card--feature .news-card__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 0, 2, .1) 20%, rgba(10, 0, 2, .92) 85%); }
.news-card--feature .news-card__body { position: relative; padding: 30px; }
.news-card__meta { display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); letter-spacing: .06em; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--grad-red); color: #fff; }
.tag--soon { background: rgba(255, 197, 107, .16); color: var(--gold); border: 1px solid rgba(255, 197, 107, .35); }
.tag--info { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid var(--line-2); }
.news-card h3 { font-size: 1.35rem; margin: 16px 0 10px; }
.news-card--feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.news-card p { color: var(--muted); font-size: .95rem; }
.news-card__link { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--rose); }
.news-card__link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.news-card:hover .news-card__link svg { transform: translateX(5px); }
.news-card__bits { position: absolute; right: -10px; top: -14px; font-family: var(--f-display); font-weight: 700; font-size: 6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; }

/* ---------------------------------------------------------------- product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); overflow: hidden;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: border-color .3s, box-shadow .4s, transform .4s var(--ease); }
.pcard:hover { border-color: rgba(255, 90, 100, .5); box-shadow: 0 30px 60px -28px rgba(255, 30, 50, .6); transform: translateY(-4px); }
.pcard__media { position: relative; aspect-ratio: 9 / 15; overflow: hidden; cursor: pointer; background: #1a0005; transform-style: preserve-3d; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.pcard:hover .pcard__media img { transform: scale(1.08); }
.pcard__shield { position: absolute; inset: 0; z-index: 1; }
.pcard__glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .28), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: overlay; }
.pcard:hover .pcard__glare { opacity: 1; }
.pcard__media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(10, 0, 2, .85)); }
.pcard__badge { position: absolute; top: 12px; left: 12px; z-index: 3; }
.pcard__actions { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; gap: 8px; transform: translateY(calc(100% + 16px)); transition: transform .45s var(--ease); }
.pcard:hover .pcard__actions, .pcard:focus-within .pcard__actions { transform: none; }
.pcard__actions .btn { flex: 1; padding: 10px 12px; font-size: .84rem; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard__col { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rose); text-wrap: balance; }
.pcard__title { font-size: 1.15rem; }
.pcard__row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.price s { font-size: .85rem; color: var(--faint); margin-right: 6px; font-weight: 500; }

/* pack card */
.pack { position: relative; display: grid; grid-template-columns: 400px 1fr; gap: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: linear-gradient(120deg, rgba(120, 0, 20, .65), rgba(20, 0, 6, .7)); border: 1px solid rgba(255, 90, 100, .35); box-shadow: 0 30px 80px -40px rgba(255, 30, 50, .7); }
.pack + .pack { margin-top: 28px; }
.pack__art { position: relative; min-height: 520px; overflow: hidden; display: grid; place-items: center; cursor: pointer; background: #12000a; }
.pack__bg { position: absolute; inset: -15%; width: 130%; height: 130%; object-fit: cover; filter: blur(34px) saturate(1.4) brightness(.55); transition: opacity .6s; }
.pack__art .pack__phone { position: relative; top: auto; left: auto; width: 228px; transform: rotate(-3deg); animation: packFloat 6s ease-in-out infinite; transition: transform .6s var(--ease); }
.pack:hover .pack__phone { transform: rotate(0deg) scale(1.03); }
@keyframes packFloat { 50% { translate: 0 -10px; } }
.pack__chip { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(10, 0, 3, .7); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pack__chip svg { width: 15px; height: 15px; color: #ff9aa4; }
.pack__tagline { font-family: var(--f-display); font-size: 1.1rem; font-weight: 600; color: var(--rose); }
.pack__inc { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.pack__inc svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--rose); }
.pack__inc b { color: var(--text); }
.pack__each { font-size: .9rem; font-family: var(--f-body); font-weight: 500; color: var(--muted); }

/* slideshow (pack previews) */
.slides { position: absolute; inset: 0; overflow: hidden; background: #12000a; }
.slides > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.09); transition: opacity .9s ease, transform 4.5s ease; }
.slides > img.is-active { opacity: 1; transform: scale(1); z-index: 1; }
.slides__bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 4; background: rgba(255, 255, 255, .16); }
.slides__bar i { display: block; height: 100%; width: 0; background: var(--grad-red); box-shadow: 0 0 10px var(--red-hi); animation: slideBar var(--int, 2800ms) linear forwards; }
.slides:hover .slides__bar i { animation-play-state: paused; }
@keyframes slideBar { to { width: 100%; } }
.slides__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
  padding: 40px 14px 26px; font-size: .78rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); pointer-events: none; }
.slides__count { font-size: .7rem; opacity: .8; flex: none; white-space: nowrap; }
.slides__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slides__dots { position: absolute; left: 0; right: 0; bottom: 9px; z-index: 4; display: flex; justify-content: center; gap: 5px; }
.slides__dots button { width: 6px; height: 6px; padding: 0; border-radius: 6px; background: rgba(255, 255, 255, .45); transition: width .35s var(--ease), background .3s; }
.slides__dots button.is-active { width: 18px; background: #fff; }
.phone .slides { border-radius: inherit; }
.phone__screen .phone__notch { z-index: 5; }
.pcard--pack .pcard__media::after { display: none; }
.pcard__peek { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px;
  font-family: var(--f-mono); font-size: .7rem; font-weight: 700; color: #fff; background: rgba(10, 0, 3, .65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pcard__peek svg { width: 13px; height: 13px; }
.grid--center { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.feature__item--lock { display: grid; place-items: center; align-content: center; gap: 4px; padding: 14px; text-align: center; color: #fff; border: 1px dashed rgba(255, 122, 133, .6);
  background: repeating-linear-gradient(135deg, rgba(255, 45, 60, .22) 0 10px, rgba(255, 45, 60, .07) 10px 20px), #2a0610; }
.feature__item--lock svg { width: 28px; height: 28px; color: #ff9aa4; }
.feature__item--lock b { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.feature__item--lock span { position: static; padding: 0; background: none; font-size: .74rem; font-weight: 500; opacity: .85; }

/* sponsored banner between listings */
.ad { margin: 30px 0; }
#latest + .ad, .grid--center + .ad { margin-top: 36px; }
.ad__link { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 4px); overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(120deg, #14000a, #2a0610); border: 1px solid rgba(255, 90, 100, .35); box-shadow: 0 30px 70px -40px rgba(255, 30, 50, .6);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.ad__link:hover { transform: translateY(-4px); border-color: rgba(255, 90, 100, .65); box-shadow: 0 40px 90px -40px rgba(255, 30, 50, .85); }
.ad__link::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%); transform: translateX(-120%); }
.ad__link:hover::after { animation: adShine 1.1s ease forwards; }
@keyframes adShine { to { transform: translateX(120%); } }
.ad__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0a0002; }
.ad__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ad__link:hover .ad__media img { transform: scale(1.04); }
.ad__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: clamp(22px, 3vw, 40px); }
.ad__label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); }
.ad__body h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.ad__body p { color: rgba(255, 255, 255, .78); }
.ad__url { font-size: .74rem; color: rgba(255, 255, 255, .5); }
.grid > .ad { grid-column: 1 / -1; margin: 4px 0; }
@media (max-width: 860px) {
  .ad__link { grid-template-columns: 1fr; }
  .ad__body { padding: 18px 20px 22px; gap: 10px; }
}

/* pack quick view */
.pv { display: grid; gap: 16px; justify-items: center; }
.modal__media .phone.pv__phone { position: relative; height: min(540px, calc(100vh - 230px)); }
.pv__nav { position: absolute; top: 50%; z-index: 6; width: 36px; height: 36px; transform: translateY(-50%); background: rgba(10, 0, 3, .6); border-color: rgba(255, 255, 255, .25); color: #fff; }
.pv__nav:hover { transform: translateY(-50%) scale(1.08); }
.pv__nav--prev { left: -18px; } .pv__nav--next { right: -18px; }
/* one row whatever the pack size: tiles are 36px wide and shrink when a pack has many previews */
.pv__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16px, 36px); justify-content: center; gap: 7px; width: 100%; max-width: 440px; }
.pv__thumbs button, .pv__lock { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; }
.pv__thumbs button { opacity: .55; border: 2px solid transparent; transition: opacity .25s, transform .35s var(--ease-back), border-color .25s; }
.pv__thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.pv__thumbs button.is-active { opacity: 1; border-color: var(--red-hi); transform: translateY(-4px); box-shadow: var(--glow); }
.pv__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pv__lock { display: grid; place-items: center; align-content: center; gap: 1px; background: repeating-linear-gradient(135deg, rgba(255, 45, 60, .18) 0 6px, rgba(255, 45, 60, .06) 6px 12px); border: 1px dashed rgba(255, 122, 133, .55); color: var(--rose); }
.pv__lock svg { width: 13px; height: 13px; }
.pv__lock b { font-family: var(--f-mono); font-size: .66rem; }
.pv-list { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: rgba(255, 255, 255, .03); }
.pv-list__head { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.pv-list ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; max-height: 190px; overflow-y: auto; }
.pv-list li { font-size: .84rem; }
.pv-list li > button, .pv-list li.is-locked { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 6px; border-radius: 8px; text-align: left; }
.pv-list li > button { color: var(--text); transition: background .2s; }
.pv-list li > button:hover, .pv-list li > button.is-active { background: rgba(255, 45, 60, .14); }
.pv-list li.is-locked { color: var(--faint); }
.pv-list svg { width: 14px; height: 14px; flex: none; color: var(--rose); }
.pv-list li.is-locked svg { color: var(--faint); }
.pv-list i { font-style: normal; font-size: .7rem; color: var(--faint); margin-right: 2px; }
.pack__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.pack__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pack__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 8px; }
.pack__price .price { font-size: 2rem; }
.save { padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, .15); color: var(--ok); border: 1px solid rgba(61, 220, 151, .35); font-weight: 700; font-size: .78rem; letter-spacing: .06em; }
.pack__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* coming soon */
.soon { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 48px 28px; border-radius: var(--radius); border: 1.5px dashed rgba(255, 122, 133, .4); background: rgba(20, 0, 6, .45); overflow: hidden; min-height: 280px; }
.soon__bits { position: absolute; inset: 0; font-family: var(--f-mono); font-size: .8rem; line-height: 1.5; color: rgba(255, 122, 133, .12); word-break: break-all; padding: 10px; pointer-events: none; overflow: hidden; }
.soon__icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-red); box-shadow: var(--glow); animation: floaty 4s ease-in-out infinite; position: relative; }
.soon__icon svg { width: 34px; height: 34px; }
.soon h3 { font-size: 1.5rem; position: relative; }
.soon p { color: var(--muted); max-width: 46ch; position: relative; }

/* ---------------------------------------------------------------- categories */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: 32px; border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line-2); background: var(--glass); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.cat:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(255, 30, 50, .8); }
.cat__art { position: absolute; inset: 0; z-index: -1; }
.cat__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(10, 0, 2, .95) 90%); }
.cat__art .strip { position: absolute; top: -20%; display: flex; flex-direction: column; gap: 14px; width: 30%; animation: stripUp 24s linear infinite; }
.cat__art .strip:nth-child(1) { left: 2%; }
.cat__art .strip:nth-child(2) { left: 35%; animation-direction: reverse; animation-duration: 30s; }
.cat__art .strip:nth-child(3) { left: 68%; animation-duration: 20s; }
.cat__art .strip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; opacity: .85; }
@keyframes stripUp { to { transform: translateY(-50%); } }
.cat__art--book { display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(255, 45, 60, .35), transparent 60%); }
.book3d { position: absolute; top: 14%; left: 50%; width: 150px; height: 210px; transform: translateX(-50%) rotateY(-28deg) rotateX(6deg); transform-style: preserve-3d; animation: bookSpin 8s ease-in-out infinite; }
.book3d::before { content: ''; position: absolute; inset: 0; border-radius: 4px 12px 12px 4px; background: var(--grad-red); box-shadow: inset 6px 0 0 rgba(0, 0, 0, .3), 30px 30px 50px -10px #000; }
.book3d::after { content: '01000010\A 01001111\A 01001111\A 01001011'; white-space: pre; position: absolute; inset: 30px 18px; font-family: var(--f-mono); font-size: .75rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }
@keyframes bookSpin { 50% { transform: translateX(-50%) rotateY(-8deg) rotateX(2deg) translateY(-10px); } }
.cat__label { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cat h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cat p { color: var(--muted); margin-top: 6px; }
.cat__go { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-red); box-shadow: var(--glow); flex: none; transition: transform .4s var(--ease-back); }
.cat__go svg { width: 24px; height: 24px; }
.cat:hover .cat__go { transform: rotate(-45deg) scale(1.1); }

/* ---------------------------------------------------------------- featured collection marquee */
.feature { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; border: 1px solid rgba(255, 90, 100, .3); background: linear-gradient(120deg, rgba(90, 0, 18, .7), rgba(15, 0, 4, .75)); padding: clamp(28px, 4vw, 56px) 0; }
.feature__head { padding: 0 clamp(24px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.feature__head .lead { margin-top: 12px; }
.feature__rail { margin-top: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.feature__track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.feature__rail:hover .feature__track { animation-play-state: paused; }
.feature__item { position: relative; width: 170px; aspect-ratio: 9 / 19.5; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); flex: none; cursor: pointer; transition: transform .4s var(--ease); }
.feature__item:hover { transform: translateY(-10px) scale(1.04); }
.feature__item img { width: 100%; height: 100%; object-fit: cover; }
.feature__item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; font-size: .8rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

/* ---------------------------------------------------------------- steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps__line { position: absolute; top: 46px; left: 12%; right: 12%; height: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.steps__line i { display: block; height: 100%; width: 100%; background: var(--grad-red); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; box-shadow: 0 0 12px var(--red-hi); }
.steps.is-in .steps__line i { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__num { position: relative; z-index: 1; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 28px; display: grid; place-items: center; background: rgba(20, 0, 6, .85); border: 1px solid rgba(255, 90, 100, .45); box-shadow: 0 0 0 8px rgba(255, 45, 60, .06); transition: transform .5s var(--ease-back), background .4s; }
.step:hover .step__num { transform: translateY(-6px) rotate(-6deg); background: var(--red); }
.step__num svg { width: 34px; height: 34px; }
.step__num b { position: absolute; top: -10px; right: -10px; font-family: var(--f-mono); font-size: .72rem; padding: 3px 7px; border-radius: 8px; background: var(--grad-red); box-shadow: var(--glow); }
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- faq */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--radius-sm); background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, background .3s; overflow: hidden; }
.faq details[open] { border-color: rgba(255, 90, 100, .45); background: rgba(40, 0, 10, .6); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; border-radius: 50%; flex: none; position: relative; background: rgba(255, 255, 255, .08); transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: #fff; border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s; }
.faq details[open] summary i { background: var(--red); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details > div { padding: 0 22px 22px; color: var(--muted); animation: faqIn .45s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- CTA band */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 90px) 24px; border-radius: calc(var(--radius) + 10px); background: var(--grad-red); box-shadow: 0 40px 100px -40px rgba(255, 30, 50, .9); }
.cta-band__bits { position: absolute; top: 0; left: 0; right: 0; font-family: var(--f-mono); font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, .09); word-break: break-all; pointer-events: none; animation: bitsDrift 40s linear infinite; }
@keyframes bitsDrift { to { transform: translateY(-50%); } }
.cta-band h2 { position: relative; }
.cta-band p { position: relative; margin: 14px auto 28px; max-width: 54ch; color: rgba(255, 255, 255, .85); }

/* ---------------------------------------------------------------- footer */
.ftr { position: relative; margin-top: 40px; padding: 70px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10, 0, 2, .3), rgba(10, 0, 2, .9)); }
.ftr__bits { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .3em; color: rgba(255, 122, 133, .3); white-space: nowrap; overflow: hidden; margin-bottom: 44px; }
.ftr__bits span { display: inline-block; animation: marquee 50s linear infinite; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.ftr__logo { height: 52px; width: auto; margin-bottom: 18px; filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, .95)); }
.ftr__reg { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: -4px 0 16px; padding: 7px 14px 7px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-size: .78rem; color: var(--muted); }
.ftr__reg svg { width: 16px; height: 16px; color: var(--rose); }
.ftr__reg b { font-family: var(--f-mono); font-weight: 700; color: var(--text); letter-spacing: .04em; }
[data-theme="light"] .ftr__reg { background: rgba(255, 255, 255, .75); }
.ftr h4 { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: 16px; font-family: var(--f-mono); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li a, .ftr li span { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; transition: color .2s, transform .25s var(--ease); word-break: break-word; }
.ftr li a:hover { color: #fff; transform: translateX(4px); }
.ftr li svg { width: 16px; height: 16px; flex: none; color: var(--rose); }
.ftr__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--faint); font-size: .84rem; }

/* ---------------------------------------------------------------- drawer (cart) */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(5, 0, 1, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: linear-gradient(180deg, #24000a, #0e0003); border-left: 1px solid var(--line-2); box-shadow: -30px 0 80px -20px #000; transform: translateX(105%); transition: transform .5s var(--ease); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.4rem; display: flex; gap: 10px; align-items: center; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; background: rgba(0, 0, 0, .25); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; }
.total-row strong { font-family: var(--f-display); font-size: 1.6rem; }
.citem { display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: citemIn .45s var(--ease) both; }
@keyframes citemIn { from { opacity: 0; transform: translateX(30px); } }
.citem.is-removing { animation: citemOut .35s var(--ease) forwards; }
@keyframes citemOut { to { opacity: 0; transform: translateX(60px); height: 0; padding: 0; } }
.citem__img { width: 58px; height: 78px; border-radius: 10px; overflow: hidden; background: #1a0005; position: relative; }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__img .pk { position: absolute; bottom: 4px; left: 4px; right: 4px; text-align: center; font-size: .58rem; font-weight: 800; letter-spacing: .08em; background: var(--red); border-radius: 4px; }
.citem h4 { font-family: var(--f-body); font-size: .96rem; font-weight: 600; }
.citem small { color: var(--muted); font-size: .78rem; display: block; }
.citem .price { font-size: 1rem; display: block; margin-top: 2px; }
.citem__rm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: background .2s, color .2s, transform .3s var(--ease); }
.citem__rm:hover { background: rgba(255, 45, 60, .2); color: #fff; transform: rotate(90deg); }
.citem__rm svg { width: 16px; height: 16px; }
.empty { text-align: center; padding: 50px 10px; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
.empty__icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 45, 60, .12); border: 1px dashed rgba(255, 122, 133, .5); animation: floaty 4s ease-in-out infinite; }
.empty__icon svg { width: 36px; height: 36px; color: var(--rose); }

/* ---------------------------------------------------------------- modal (quick view) */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 0, 1, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: auto 1fr; gap: 0; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(140deg, #2a000b, #0e0003); border: 1px solid var(--line-2); box-shadow: 0 50px 120px -30px #000; opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .35s, transform .5s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal__media { position: relative; padding: 28px; background: radial-gradient(circle at 50% 40%, rgba(255, 45, 60, .3), transparent 70%); display: grid; place-items: center; }
.modal__media .phone { position: relative; top: auto; left: auto; transform: none; width: auto; height: min(640px, calc(100vh - 120px)); aspect-ratio: 9 / 19.5; animation: none; }
.modal__media .phone--book { aspect-ratio: 2 / 3; border-radius: 10px 18px 18px 10px; padding: 0; overflow: hidden; height: min(520px, calc(100vh - 140px)); }
.modal__media .phone--book img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.modal__nav { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); }
.modal__nav--prev { left: 10px; }
.modal__nav--next { right: 10px; }
.modal__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.modal__body .price { font-size: 1.8rem; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0; }
.spec { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.spec small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.spec b { font-size: .95rem; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 197, 107, .08); border: 1px solid rgba(255, 197, 107, .25); color: #ffe2b3; font-size: .86rem; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.notice--ok { background: rgba(61, 220, 151, .08); border-color: rgba(61, 220, 151, .3); color: #c9f7e2; }
.notice--err { background: rgba(255, 45, 60, .12); border-color: rgba(255, 90, 100, .45); color: #ffd1d5; }
.modal__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.modal__btns .btn { flex: 1; }
.upsell { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255, 45, 60, .1); border: 1px dashed rgba(255, 122, 133, .45); font-size: .9rem; }
.upsell b { color: #fff; }
.upsell .btn { margin-left: auto; }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 500; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(25, 0, 7, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: .92rem; animation: toastIn .5s var(--ease-back) both; }
.toast.is-out { animation: toastOut .35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px) scale(.95); } }
.toast__icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #05210f; flex: none; }
.toast--info .toast__icon { background: var(--gold); color: #3b2400; }
.toast--err .toast__icon { background: var(--red-hi); color: #fff; }
.toast__icon svg { width: 16px; height: 16px; }
.toast a { margin-left: auto; font-weight: 700; color: var(--rose); white-space: nowrap; }

/* fly-to-cart */
.fly { position: fixed; z-index: 600; width: 60px; height: 80px; border-radius: 12px; overflow: hidden; pointer-events: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); border: 2px solid #fff; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- page hero (inner pages) */
.phero { padding: calc(var(--hdr-h) + 56px) 0 34px; position: relative; overflow: hidden; }
.phero__bits { position: absolute; right: 0; top: 40px; font-family: var(--f-display); font-weight: 700; font-size: clamp(8rem, 22vw, 18rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; animation: bitsFloat 9s ease-in-out infinite alternate; }
.phero h1 { margin: 16px 0 12px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .78rem; color: var(--faint); letter-spacing: .06em; }
.crumbs a:hover { color: #fff; }

/* tabs */
.tabs { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(20, 0, 6, .7); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--grad-red); box-shadow: var(--glow); transition: transform .5s var(--ease), width .5s var(--ease); z-index: 0; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: rgba(255, 255, 255, .75); transition: color .3s; white-space: nowrap; }
.tab svg { width: 18px; height: 18px; }
.tab.is-active { color: #fff; }
.tab .count { font-family: var(--f-mono); font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .14); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 26px 0 28px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 15px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background .25s, border-color .25s, transform .25s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.chip:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .35); }
.chip.is-active { background: #fff; color: #8a0016; border-color: #fff; }
.chip .tag { padding: 2px 6px; font-size: .6rem; }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search input, .select { height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(20, 0, 6, .7); padding: 0 18px 0 42px; min-width: 220px; outline: none; transition: border-color .25s, box-shadow .25s, min-width .4s var(--ease); }
.search input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 45, 60, .18); min-width: 260px; }
.select { padding: 0 38px 0 16px; min-width: 0; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a85' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; cursor: pointer; }
.select option { background: #1a0005; }
.tools-right { display: flex; gap: 10px; flex-wrap: wrap; }
.result-meta { font-family: var(--f-mono); font-size: .8rem; color: var(--faint); margin-bottom: 14px; letter-spacing: .05em; }
.col-block { margin-bottom: 56px; }
.col-block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.col-block__head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.col-block__head p { color: var(--muted); margin-top: 6px; max-width: 70ch; }

/* ---------------------------------------------------------------- checkout */
.co-steps { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.co-step { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted); transition: all .4s var(--ease); }
.co-step b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .72rem; background: rgba(255, 255, 255, .1); transition: background .4s; }
.co-step.is-done { color: #fff; border-color: rgba(255, 90, 100, .45); }
.co-step.is-done b { background: var(--grad-red); box-shadow: var(--glow); }
.co-sep { width: 26px; height: 2px; background: var(--line-2); border-radius: 2px; }
.co-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.panel { padding: clamp(22px, 3vw, 32px); border-radius: calc(var(--radius) + 2px); background: var(--glass); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.panel + .panel { margin-top: 22px; }
.panel__title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.panel__title .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-red); font-family: var(--f-mono); font-weight: 700; font-size: .82rem; box-shadow: var(--glow); flex: none; }
.panel__title h2 { font-size: 1.35rem; }
.panel__title p { font-size: .88rem; color: var(--muted); }
.bank { position: relative; padding: 22px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #d80f22, #6d0012 60%, #2a0008); box-shadow: 0 24px 50px -24px rgba(255, 30, 50, .9); isolation: isolate; }
.bank + .bank { margin-top: 14px; }
.bank::before { content: '0101 1010 0110 1001'; position: absolute; right: -10px; bottom: -14px; font-family: var(--f-mono); font-size: 3.4rem; font-weight: 700; color: rgba(255, 255, 255, .07); z-index: -1; white-space: nowrap; }
.bank::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .18) 50%, transparent 65%); transform: translateX(-100%); animation: shine 5s ease-in-out infinite; z-index: -1; }
.bank__name { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bank__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.bank__row small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.bank__row > div { min-width: 0; }
.bank__row b { font-family: var(--f-mono); font-size: 1.08rem; letter-spacing: .04em; overflow-wrap: anywhere; }
.copy { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, .25); border: 1px solid rgba(255, 255, 255, .25); font-size: .78rem; font-weight: 600; transition: background .2s, transform .2s; flex: none; }
.copy:hover { background: rgba(0, 0, 0, .45); }
.copy svg { width: 14px; height: 14px; }
.copy.is-copied { background: var(--ok); color: #05210f; border-color: var(--ok); }
.amount-due { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; margin-top: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.amount-due strong { font-family: var(--f-display); font-size: 1.6rem; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .86rem; font-weight: 600; }
.field label em { color: var(--rose); font-style: normal; }
.field input, .field textarea { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(10, 0, 3, .6); outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 45, 60, .18); background: rgba(30, 0, 8, .7); }
.field.has-error input, .field.has-error .drop { border-color: #ff5a66; animation: shake .4s; }
.field .err { font-size: .8rem; color: #ff8a93; display: none; }
.field.has-error .err { display: block; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.drop { position: relative; display: grid; place-items: center; gap: 10px; text-align: center; padding: 30px 20px; border-radius: 16px; border: 2px dashed rgba(255, 122, 133, .45); background: rgba(255, 45, 60, .05); cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); overflow: hidden; }
.drop:hover, .drop.is-over { border-color: var(--rose); background: rgba(255, 45, 60, .12); }
.drop.is-over { transform: scale(1.015); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-red); box-shadow: var(--glow); animation: floaty 3.5s ease-in-out infinite; }
.drop__icon svg { width: 28px; height: 28px; }
.drop b { font-size: 1rem; }
.drop small { color: var(--muted); }
.drop.has-file { border-style: solid; border-color: rgba(61, 220, 151, .5); background: rgba(61, 220, 151, .06); cursor: default; }
.drop.has-file input { display: none; }
.slip-preview { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.slip-preview__thumb { width: 64px; height: 84px; border-radius: 10px; overflow: hidden; background: #1a0005; display: grid; place-items: center; flex: none; border: 1px solid var(--line-2); }
.slip-preview__thumb img { width: 100%; height: 100%; object-fit: cover; }
.slip-preview__thumb svg { width: 28px; height: 28px; color: var(--rose); }
.slip-preview > div + div { flex: 1; min-width: 0; }
.slip-preview b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; margin: 6px 0 20px; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: rgba(10, 0, 3, .6); flex: none; margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; cursor: pointer; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check.has-error input { border-color: #ff5a66; animation: shake .4s; }
.summary { position: sticky; top: calc(var(--hdr-h) + 20px); }
.summary .citem:not(.is-removing) { animation: none; }
.summary__total { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); }
.summary__total div { display: flex; justify-content: space-between; color: var(--muted); font-size: .92rem; }
.summary__total .grand { color: #fff; font-size: 1.1rem; font-weight: 700; margin-top: 6px; align-items: baseline; }
.summary__total .grand strong { font-family: var(--f-display); font-size: 1.8rem; }
.assure { display: grid; gap: 12px; margin-top: 20px; }
.assure div { display: flex; gap: 12px; align-items: center; font-size: .88rem; color: var(--muted); }
.assure svg { width: 20px; height: 20px; color: var(--rose); flex: none; }
.progress { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 14px; display: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad-red); box-shadow: 0 0 14px var(--red-hi); transition: width .5s var(--ease); }
.is-sending .progress { display: block; }
.send-status { font-family: var(--f-mono); font-size: .8rem; color: var(--rose); margin-top: 10px; min-height: 1.2em; text-align: center; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }

.success { text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(32px, 5vw, 56px); }
.success__icon { width: 110px; height: 110px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #05210f; box-shadow: 0 0 0 14px rgba(61, 220, 151, .12), 0 0 0 28px rgba(61, 220, 151, .06); animation: pop .7s var(--ease-back) both; }
.success__icon svg { width: 54px; height: 54px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .45s ease forwards; }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-id { display: inline-flex; align-items: center; gap: 12px; margin: 22px 0; padding: 12px 14px 12px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 1.3rem; font-weight: 700; letter-spacing: .06em; }
.timeline { display: grid; gap: 0; text-align: left; margin: 26px auto 30px; max-width: 460px; }
.tl { position: relative; display: flex; gap: 16px; padding-bottom: 22px; animation: fadeUp .6s var(--ease) both; }
.tl:nth-child(2) { animation-delay: .15s; } .tl:nth-child(3) { animation-delay: .3s; }
.tl::before { content: ''; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line-2); }
.tl:last-child::before { display: none; }
.tl i { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); font-style: normal; font-family: var(--f-mono); font-size: .72rem; }
.tl.is-done i { background: var(--ok); color: #05210f; border-color: var(--ok); }
.tl.is-now i { background: var(--grad-red); border-color: var(--red); animation: pulseRed 1.6s infinite; }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(255, 45, 60, .7); } 70% { box-shadow: 0 0 0 12px rgba(255, 45, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 45, 60, 0); } }
.tl b { display: block; }
.tl small { color: var(--muted); }
.confetti { position: fixed; top: -40px; z-index: 700; pointer-events: none; font-family: var(--f-mono); font-weight: 700; color: #fff; animation: confetti linear forwards; text-shadow: 0 0 10px rgba(255, 45, 60, .9); }
@keyframes confetti { to { transform: translateY(110vh) rotate(var(--r, 360deg)); opacity: .2; } }

/* ---------------------------------------------------------------- reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].is-in { opacity: 1; transform: none; }
.split-word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.is-in .split-word { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .phones { height: 520px; margin-top: 10px; }
  .news { grid-template-columns: 1fr 1fr; }
  .news-card--feature { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps__line { display: none; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .co-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
/* mobile menu overlay (lives outside the header so it can cover the whole screen) */
.mnav { display: none; }
@media (max-width: 860px) {
  .burger { display: inline-block; }
  .cart-btn { margin-left: auto; }
  .cart-btn .lbl { display: none; }
  .nav { display: none; }
  .mnav { display: block; position: fixed; inset: 0; z-index: 99; overflow-y: auto; pointer-events: none; visibility: hidden;
    background: radial-gradient(circle at 85% 0%, #9a0019, #2b0009 45%, #0d0002 85%);
    clip-path: circle(0 at calc(100% - 39px) 37px); transition: clip-path .7s var(--ease), visibility 0s .7s; }
  body.menu-open .mnav { clip-path: circle(150% at calc(100% - 39px) 37px); pointer-events: auto; visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  body.menu-open { overflow: hidden; }
  .mnav__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 100px 28px 40px; }
  .mnav__link { font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; padding: 8px 4px; display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .6s var(--ease); }
  .mnav__link small { font-family: var(--f-mono); font-size: .75rem; font-weight: 400; color: var(--rose); letter-spacing: .1em; }
  .mnav__link.is-active { color: var(--rose); }
  .mnav__sub { display: grid; gap: 6px; padding: 4px 0 10px 4px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .6s var(--ease); }
  .mnav__sub a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
  .mnav__sub .mi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-red); flex: none; }
  .mnav__sub b { display: block; }
  .mnav__sub small { display: block; color: var(--muted); font-size: .78rem; }
  .mnav__bits { margin-top: 24px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .25em; color: rgba(255, 122, 133, .4); opacity: 0; transition: opacity .6s .5s; word-break: break-all; }
  body.menu-open .mnav__link, body.menu-open .mnav__sub { opacity: 1; transform: none; }
  body.menu-open .mnav__bits { opacity: 1; }
  body.menu-open .mnav__inner > :nth-child(2) { transition-delay: .07s; }
  body.menu-open .mnav__inner > :nth-child(3) { transition-delay: .14s; }
  body.menu-open .mnav__inner > :nth-child(4) { transition-delay: .21s; }
  body.menu-open .mnav__inner > :nth-child(5) { transition-delay: .28s; }
  .hdr__inner { gap: 12px; }
  .hdr__logo img { height: 40px; }
  .hdr.is-scrolled .hdr__logo img { height: 36px; }
  .cats { grid-template-columns: 1fr; }
  .pack { grid-template-columns: 1fr; }
  .pack__art { min-height: 460px; }
  .pack__art .pack__phone { width: 200px; }
  .modal__media .phone.pv__phone { height: 44vh; }
  .pv__nav--prev { left: -14px; } .pv__nav--next { right: -14px; }
  .modal__box:has(.pv) .modal__nav { display: none; }   /* one set of arrows on phones: the slideshow's */
  .pv__thumbs { gap: 6px; grid-auto-columns: minmax(14px, 30px); }
  .modal { padding: 0; align-items: end; }
  .modal__box { grid-template-columns: 1fr; max-height: 94vh; border-radius: 24px 24px 0 0; transform: translateY(100%); }
  .modal__media { padding: 24px 24px 0; }
  .modal__media .phone { height: 46vh; }
  .modal__media .phone--book { height: 40vh; }
  .modal__nav { top: 30%; }
  .floaty { display: none; }
}
@media (max-width: 600px) {
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(40px); }
  .pack__btns .btn, .hero__cta .btn { white-space: normal; text-align: center; }
  .hero { padding-top: calc(var(--hdr-h) + 24px); min-height: auto; }
  .hero__bits { font-size: 70vw; opacity: .7; }
  .hero__side-bits { display: none; }
  .phones { height: 430px; }
  .phone { width: 200px; border-radius: 32px; padding: 8px; }
  .phone__screen { border-radius: 25px; }
  .phone__time { font-size: 2rem; }
  .phones__ring { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .phones__ring--2 { display: none; }
  .stat + .stat { padding-left: 0; border-left: 0; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .news { grid-template-columns: 1fr; }
  /* phones: picture on top, text underneath (so it never sits on busy artwork) */
  .news-card--feature { grid-column: auto; min-height: 0; justify-content: flex-start; background: #14040a; }
  .news-card--feature .news-card__img { position: relative; inset: auto; height: 240px; }
  .news-card--feature .news-card__img::after { background: linear-gradient(180deg, rgba(20, 4, 10, 0) 55%, #14040a 100%); }
  .news-card--feature .news-card__body { padding: 6px 22px 24px; }
  .news-card:last-child:nth-child(4) { grid-column: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__body { padding: 12px; }
  .pcard__title { font-size: 1rem; }
  .pcard__actions { display: none; }
  .price { font-size: 1.05rem; }
  .icon-btn { width: 36px; height: 36px; }
  .steps { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .tools-right { display: grid; grid-template-columns: 1fr auto; }
  .search input { min-width: 0; width: 100%; }
  .search input:focus { min-width: 0; }
  .specs { grid-template-columns: 1fr 1fr; }
  .co-sep { display: none; }
  .ticker { height: 120px; }
  .ticker__track span { font-size: .95rem; }
  .cat { min-height: 320px; padding: 24px; }
  .feature__item { width: 130px; }
}

/* ================================================================
   THEME TOGGLE · LOGO SWAP · E-BOOK UI
   ================================================================ */
:root { color-scheme: dark; --rain-rgb: 255, 70, 90; --rain-hot-rgb: 255, 120, 132; --rain-head-rgb: 255, 236, 239; }
.hl { color: var(--text); font-weight: 700; }
.empty__title { color: var(--text); font-size: 1.15rem; font-weight: 700; }

/* the logo exists in two colourways — show the right one for the theme */
.logo-img--light { display: none !important; }
[data-theme="light"] .logo-img--dark { display: none !important; }
[data-theme="light"] .logo-img--light { display: block !important; }

.theme-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; overflow: hidden;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); transition: background .25s, transform .4s var(--ease-back); }
.theme-btn:hover { background: rgba(255, 255, 255, .15); transform: rotate(-14deg) scale(1.06); }
.theme-btn svg { position: absolute; width: 20px; height: 20px; transition: transform .6s var(--ease-back), opacity .35s; }
.theme-btn .i-sun { color: #ffc56b; }
.theme-btn .i-moon { opacity: 0; transform: translateY(150%) rotate(90deg); }
[data-theme="light"] .theme-btn .i-sun { opacity: 0; transform: translateY(-150%) rotate(-90deg); }
[data-theme="light"] .theme-btn .i-moon { opacity: 1; transform: none; color: #7a0012; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
html.theme-fade, html.theme-fade * { transition: background-color .45s ease, color .45s ease, border-color .45s ease !important; }

/* e-book card: 3D cover on a blurred backdrop of itself */
.pcard__media--book { background: #1a0005; }
.pcard__media--book .book-bg { position: absolute; inset: -12%; width: 124%; height: 124%; object-fit: cover; filter: blur(22px) saturate(1.3) brightness(.55); }
.pcard:hover .pcard__media--book .book-bg { transform: none; }
.book { position: absolute; top: 45%; left: 50%; height: 62%; max-width: 80%; aspect-ratio: var(--ar, 4 / 5); z-index: 1; overflow: hidden; border-radius: 3px 10px 10px 3px;
  transform: translate(-50%, -50%) perspective(900px) rotateY(-18deg); transform-origin: left center;
  box-shadow: 18px 24px 40px -12px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .18); transition: transform .7s var(--ease); }
.book::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8%; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(255, 255, 255, .3) 55%, transparent); }
.book img { width: 100%; height: 100%; object-fit: cover; }
.pcard:hover .book { transform: translate(-50%, -53%) perspective(900px) rotateY(0deg) scale(1.05); }
.pcard:hover .book img { transform: none; }

/* e-book quick view: cover + "look inside" pages */
.bookview { display: grid; gap: 14px; justify-items: center; }
.bookview__main { position: relative; height: min(500px, calc(100vh - 250px)); aspect-ratio: var(--ar, 4 / 5); max-width: 78vw; overflow: hidden; background: #fff;
  border-radius: 4px 14px 14px 4px; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .75); }
.bookview__main::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5%; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent); pointer-events: none; }
.bookview__main img { width: 100%; height: 100%; object-fit: contain; }
.bookview__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.bookview__thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bookview__thumbs button { position: relative; width: 52px; aspect-ratio: var(--ar, 4 / 5); border-radius: 6px; overflow: hidden; background: #fff; opacity: .65;
  border: 2px solid transparent; transition: opacity .25s, transform .35s var(--ease-back), border-color .25s; }
.bookview__thumbs button:hover { opacity: 1; transform: translateY(-3px); }
.bookview__thumbs button.is-active { opacity: 1; border-color: var(--red-hi); transform: translateY(-4px); box-shadow: var(--glow); }
.bookview__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bookview__thumbs span { position: absolute; left: 0; right: 0; bottom: 0; font-size: .58rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .62); text-align: center; line-height: 1.6; }

/* home "E-Books" category card with a real cover */
.book3d.has-cover { height: 188px; }
.book3d.has-cover::after { content: none; }
.book3d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px 12px 12px 4px; z-index: 1; box-shadow: inset 6px 0 0 rgba(0, 0, 0, .3); }

/* things that sit on images or on the red gradient keep white text in both themes */
.nav__menu .mi, .mnav__sub .mi, .soon__icon, .drop__icon, .cat__go, .step__num b, .panel__title .n, .chip-new b, .co-step.is-done b,
.bank, .cta-band, .tab.is-active, .btn--primary, .cart-btn:hover, .icon-btn:hover, .step:hover .step__num, .phone, .news-card--feature,
.cat, .feature__item span, .pcard__actions .btn, .ticker__band--a { color: #fff; }
.news-card--feature p { color: rgba(255, 255, 255, .82); }
.news-card--feature .news-card__meta { color: rgba(255, 255, 255, .75); }
.news-card--feature .news-card__link { color: #ff9aa4; }
.cat p { color: rgba(255, 255, 255, .78); }

@media (max-width: 860px) {
  .theme-btn { margin-left: auto; width: 40px; height: 40px; }
  .cart-btn { margin-left: 0; padding: 8px 12px; }
  .burger { width: 42px; height: 42px; }
  .burger span { left: 12px; right: 12px; }
  .burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
  .modal__media .bookview__main { height: 40vh; }
}
@media (max-width: 600px) {
  .grid--center { grid-template-columns: repeat(2, 1fr); }
  .pcard__peek { top: 10px; right: 10px; }
  .order-id { font-size: 1.02rem; white-space: nowrap; gap: 8px; padding: 10px 10px 10px 14px; }
  .hdr__logo img { height: 34px; }
  .hdr.is-scrolled .hdr__logo img { height: 32px; }
  .hdr__inner { gap: 10px; }
}

/* ================================================================
   LEGAL PAGE (policy.html) + checkout agreement
   ================================================================ */
.legal-updated { margin-top: 14px; font-size: .8rem; color: var(--faint); letter-spacing: .05em; }
.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 14px; padding: 22px; max-height: calc(100vh - var(--hdr-h) - 32px); overflow-y: auto; }
.toc nav { display: grid; gap: 2px; }
.toc a { display: flex; align-items: baseline; gap: 10px; padding: 7px 10px; border-radius: 10px; font-size: .88rem; color: var(--muted); transition: background .2s, color .2s, transform .25s var(--ease); }
.toc a b { font-family: var(--f-mono); font-size: .72rem; color: var(--rose); flex: none; }
.toc a:hover { color: var(--text); transform: translateX(3px); }
.toc a.is-active { background: rgba(255, 45, 60, .14); color: var(--text); }
.legal__body { padding: clamp(22px, 4vw, 52px); min-width: 0; }
.legal__body h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: 46px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal__body h2 .num { flex: none; min-width: 38px; height: 30px; padding: 0 8px; border-radius: 9px; display: inline-grid; place-items: center; font-family: var(--f-mono); font-size: .78rem; font-weight: 700; color: #fff; background: var(--grad-red); box-shadow: var(--glow); }
.legal__body h3 { font-family: var(--f-body); font-size: 1.04rem; font-weight: 700; margin: 24px 0 8px; }
.legal__body p, .legal__body li { color: var(--muted); line-height: 1.75; }
.legal__body p + p { margin-top: 12px; }
.legal__body strong { color: var(--text); }
.legal__body a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.legal__body ul { margin: 12px 0 14px; padding-left: 1.3em; display: grid; gap: 8px; }
.legal__body .rules { list-style: none; padding: 0; gap: 10px; }
.rules li { position: relative; padding: 13px 16px 13px 52px; border-radius: 12px; border: 1px solid var(--line); }
.rules li::before { position: absolute; left: 14px; top: 14px; width: 24px; height: 24px; border-radius: 50%; line-height: 24px; text-align: center; font-weight: 800; font-size: .78rem; color: #fff; }
.rules--allow li { border-color: rgba(61, 220, 151, .32); background: rgba(61, 220, 151, .06); }
.rules--allow li::before { content: '✓'; background: #19a463; }
.rules--deny li { border-color: rgba(255, 60, 75, .38); background: rgba(255, 45, 60, .07); }
.rules--deny li::before { content: '✕'; background: var(--red); }
.rules--warn li { border-color: rgba(255, 170, 0, .38); background: rgba(255, 170, 0, .07); }
.rules--warn li::before { content: '!'; background: #d98a00; }
.keypoints { position: relative; padding: 24px 26px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, rgba(255, 45, 60, .17), rgba(255, 45, 60, .05)); border: 1px solid rgba(255, 90, 100, .4); }
.keypoints::after { content: '0101'; position: absolute; right: -6px; bottom: -22px; font-family: var(--f-display); font-weight: 700; font-size: 5.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 90, 100, .2); pointer-events: none; }
.keypoints__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.keypoints__head svg { width: 26px; height: 26px; color: var(--rose); }
.legal__body .keypoints__title { display: block; margin: 0; padding: 0; border: 0; font-size: 1.3rem; }
.legal__body .keypoints li { color: var(--text); position: relative; }
.keypoints .small { color: var(--faint); position: relative; }
.legal-bank { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.legal-bank div { padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.legal-bank dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.legal-bank dd { margin: 2px 0 0; font-weight: 700; color: var(--text); overflow-wrap: anywhere; }
.legal-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.legal__body .legal-contact__item { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); text-decoration: none; transition: transform .3s var(--ease), border-color .3s; }
.legal__body .legal-contact__item:hover { transform: translateY(-3px); border-color: rgba(255, 90, 100, .5); }
.legal-contact__item > svg { width: 22px; height: 22px; color: var(--rose); }
.legal-contact__item small { display: block; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.legal-contact__item b { overflow-wrap: anywhere; }
[data-theme="light"] .legal-bank div, [data-theme="light"] .legal__body .legal-contact__item { background: rgba(255, 255, 255, .75); }
@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .legal-bank, .legal-contact, .toc nav { grid-template-columns: 1fr; }
  .rules li { padding-left: 46px; }
  .rules li::before { left: 12px; }
}

/* checkout: agreement checkbox */
.check a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.check.has-error > span { color: var(--rose); }
.licence-line { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--faint); }
.licence-line svg { width: 14px; height: 14px; color: var(--rose); }
.licence-line a { color: var(--rose); text-decoration: underline; text-underline-offset: 2px; }

@media print {
  .bg, #binary-rain, .bg-vignette, .cursor-glow, .hdr, .mnav, .ftr, .toc, .drawer, .modal, .toasts, .ptrans, #loader, .phero__bits { display: none !important; }
  html, body { background: #fff !important; color: #000 !important; }
  .panel, .legal__body, .keypoints { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .legal { display: block; }
  .legal__body { padding: 0 !important; }
  .legal__body *, .phero h1, .phero .lead { color: #000 !important; -webkit-text-fill-color: #000 !important; }
  .legal__body h2 .num { background: none !important; box-shadow: none !important; border: 1px solid #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .phero { padding: 0 0 12px !important; }
}

/* ================================================================
   LIGHT THEME
   ================================================================ */
:root[data-theme="light"] {
  color-scheme: light;
  --ink: #fff7f8;
  --wine: #ffe9ec;
  --text: #22040a;
  --muted: rgba(58, 8, 18, .72);
  --faint: rgba(58, 8, 18, .5);
  --line: rgba(150, 0, 25, .12);
  --line-2: rgba(150, 0, 25, .2);
  --glass: rgba(255, 255, 255, .72);
  --glass-2: rgba(255, 255, 255, .6);
  --rose: #d3122a;
  --grad-text: linear-gradient(100deg, #8a0016 0%, #e3121f 40%, #ff4d5e 65%, #b3001b 100%);
  --shadow: 0 24px 60px -28px rgba(120, 0, 20, .35);
  --glow: 0 12px 34px -12px rgba(227, 18, 31, .55);
  --rain-rgb: 210, 20, 45;
  --rain-hot-rgb: 235, 0, 40;
  --rain-head-rgb: 120, 0, 15;
}
[data-theme="light"] .bg {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255, 70, 90, .30), transparent 60%),
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255, 45, 60, .22), transparent 60%),
    linear-gradient(160deg, #fffafa 0%, #ffeef0 38%, #ffdfe3 68%, #fff4f5 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
}
[data-theme="light"] .bg__blob { opacity: .2; }
[data-theme="light"] .bg__blob--1 { background: #ff4d5e; }
[data-theme="light"] .bg__blob--2 { background: #ff8a95; opacity: .24; }
[data-theme="light"] .bg__blob--3 { background: #ffb3bb; }
[data-theme="light"] .bg__grid { background-image: linear-gradient(rgba(150, 0, 25, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 0, 25, .05) 1px, transparent 1px); }
[data-theme="light"] #binary-rain { opacity: .5; }
[data-theme="light"] .bg-vignette { background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(255, 214, 220, .55) 100%); }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(255, 45, 60, .12), transparent 62%); }
html[data-theme="light"]::-webkit-scrollbar-track, [data-theme="light"] ::-webkit-scrollbar-track { background: #ffeef0; }
html[data-theme="light"]::-webkit-scrollbar-thumb, [data-theme="light"] ::-webkit-scrollbar-thumb { border-color: #ffeef0; }

[data-theme="light"] #loader { background: radial-gradient(circle at 50% 50%, #ffd5da, #fff7f8 70%); }
[data-theme="light"] .hdr.is-scrolled { background: rgba(255, 247, 248, .82); box-shadow: 0 10px 40px -24px rgba(120, 0, 20, .4); }
[data-theme="light"] .hdr__logo img, [data-theme="light"] .ftr__logo { filter: none; }
[data-theme="light"] .nav > a, [data-theme="light"] .nav__dd > a { color: rgba(34, 4, 10, .75); }
[data-theme="light"] .nav > a:hover, [data-theme="light"] .nav__dd:hover > a, [data-theme="light"] .nav a.is-active { color: var(--text); }
[data-theme="light"] .nav__menu { background: rgba(255, 255, 255, .96); }
[data-theme="light"] .theme-btn, [data-theme="light"] .burger, [data-theme="light"] .cart-btn, [data-theme="light"] .chip-new,
[data-theme="light"] .tabs, [data-theme="light"] .chip, [data-theme="light"] .co-step, [data-theme="light"] .amount-due,
[data-theme="light"] .order-id, [data-theme="light"] .floaty { background: rgba(255, 255, 255, .78); }
[data-theme="light"] .theme-btn:hover { background: #fff; }
[data-theme="light"] .burger span { background: var(--text); }
[data-theme="light"] .cart-count { background: var(--red); color: #fff; }
[data-theme="light"] .cart-btn:hover { background: var(--red); }
[data-theme="light"] .cart-btn:hover .cart-count { background: #fff; color: #a00018; }
[data-theme="light"] .btn--ghost { color: var(--text); background: rgba(150, 0, 25, .05); }
[data-theme="light"] .btn--ghost:hover { background: rgba(150, 0, 25, .1); border-color: rgba(150, 0, 25, .35); }
[data-theme="light"] .pcard__actions .btn--ghost { color: #fff; background: rgba(0, 0, 0, .38); border-color: rgba(255, 255, 255, .4); }
[data-theme="light"] .icon-btn { background: rgba(150, 0, 25, .06); }
[data-theme="light"] .hero__bits, [data-theme="light"] .phero__bits, [data-theme="light"] .news-card__bits { -webkit-text-stroke-color: rgba(150, 0, 25, .13); }
[data-theme="light"] .ticker__band--b { background: #fff; border-color: rgba(150, 0, 25, .15); }
[data-theme="light"] .tag--info { background: rgba(150, 0, 25, .08); color: var(--text); }
[data-theme="light"] .tag--soon { background: rgba(255, 170, 0, .14); color: #8f5200; border-color: rgba(200, 120, 0, .35); }
[data-theme="light"] .pack { background: linear-gradient(120deg, rgba(255, 208, 214, .85), rgba(255, 255, 255, .82)); border-color: rgba(227, 18, 31, .28); box-shadow: 0 30px 70px -40px rgba(200, 0, 30, .45); }
[data-theme="light"] .pack__art { background: #2a0610; }
[data-theme="light"] .pv-list { background: rgba(255, 255, 255, .6); }
[data-theme="light"] .save { color: #0a7a46; background: rgba(18, 168, 101, .12); border-color: rgba(18, 168, 101, .35); }
[data-theme="light"] .soon { background: rgba(255, 255, 255, .62); }
[data-theme="light"] .soon__bits { color: rgba(211, 18, 42, .1); }
[data-theme="light"] .cat { background: linear-gradient(160deg, #3d0012, #12000a); border-color: transparent; }
[data-theme="light"] .cat .eyebrow { color: #ff8a95; }
[data-theme="light"] .feature { background: linear-gradient(120deg, rgba(255, 210, 216, .9), rgba(255, 255, 255, .8)); border-color: rgba(227, 18, 31, .25); }
[data-theme="light"] .step__num { background: #fff; box-shadow: 0 0 0 8px rgba(227, 18, 31, .07); }
[data-theme="light"] .step:hover .step__num { background: var(--red); }
[data-theme="light"] .steps__line { background: var(--line); }
[data-theme="light"] .faq details[open] { background: rgba(255, 240, 242, .92); }
[data-theme="light"] .faq summary i { background: rgba(150, 0, 25, .08); }
[data-theme="light"] .faq summary i::before, [data-theme="light"] .faq summary i::after { background: var(--text); }
[data-theme="light"] .faq details[open] summary i { background: var(--red); }
[data-theme="light"] .faq details[open] summary i::before, [data-theme="light"] .faq details[open] summary i::after { background: #fff; }
[data-theme="light"] .ftr { background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .85)); }
[data-theme="light"] .ftr li a:hover, [data-theme="light"] .crumbs a:hover { color: var(--text); }
[data-theme="light"] .drawer__backdrop, [data-theme="light"] .modal__backdrop { background: rgba(60, 0, 12, .38); }
[data-theme="light"] .drawer__panel { background: linear-gradient(180deg, #fff, #fff0f2); }
[data-theme="light"] .drawer__foot { background: rgba(150, 0, 25, .04); }
[data-theme="light"] .citem__rm:hover { color: var(--red); }
[data-theme="light"] .modal__box { background: linear-gradient(140deg, #fff, #fff1f3); }
[data-theme="light"] .spec { background: rgba(150, 0, 25, .04); }
[data-theme="light"] .notice { color: #6e4300; background: rgba(255, 170, 0, .1); }
[data-theme="light"] .notice--ok { color: #0b5e38; background: rgba(18, 168, 101, .08); }
[data-theme="light"] .notice--err { color: #8a0016; background: rgba(255, 45, 60, .08); }
[data-theme="light"] .toast { background: #fff; }
[data-theme="light"] .tab { color: var(--muted); }
[data-theme="light"] .tab.is-active { color: #fff; }
[data-theme="light"] .tab .count { background: rgba(150, 0, 25, .08); }
[data-theme="light"] .tab.is-active .count { background: rgba(255, 255, 255, .25); }
[data-theme="light"] .chip.is-active { background: var(--red); color: #fff; border-color: var(--red); }
[data-theme="light"] .search input, [data-theme="light"] .select { background-color: rgba(255, 255, 255, .85); }
[data-theme="light"] .select option { background: #fff; }
[data-theme="light"] .co-step b { background: rgba(150, 0, 25, .08); }
[data-theme="light"] .co-step.is-done { color: var(--text); }
[data-theme="light"] .co-step.is-done b { background: var(--grad-red); }
[data-theme="light"] .field input, [data-theme="light"] .field textarea, [data-theme="light"] .check input { background: #fff; }
[data-theme="light"] .check input:checked { background: var(--red); }
[data-theme="light"] .summary__total .grand { color: var(--text); }
[data-theme="light"] .progress { background: var(--line); }
[data-theme="light"] .order-id .copy, [data-theme="light"] .amount-due .copy { background: rgba(150, 0, 25, .06); border-color: var(--line-2); color: var(--text); }
[data-theme="light"] .tl i { background: rgba(150, 0, 25, .06); }
[data-theme="light"] .mnav { background: radial-gradient(circle at 85% 0%, #ffc4cc, #fff0f2 45%, #fff 85%); }
[data-theme="light"] .mnav__sub a { background: rgba(255, 255, 255, .75); }
[data-theme="light"] .upsell b { color: var(--text); }

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-word { opacity: 1; transform: none; }
  #loader { display: none; }
}
