/* I.G Apex Labs — theme.css */

:root {
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --background: #000000;
  --surface: oklch(0.12 0.025 260);
  --surface-2: oklch(0.16 0.03 260);
  --foreground: oklch(0.98 0.005 240);
  --muted: oklch(0.18 0.02 260);
  --muted-foreground: oklch(0.65 0.02 250);
  --border: oklch(0.25 0.03 260 / 0.5);
  --primary: oklch(0.68 0.20 262);
  --primary-foreground: oklch(0.09 0.02 260);
  --accent: oklch(0.58 0.21 264);
  --cyan-glow: oklch(0.68 0.20 262);
  --gold: oklch(0.86 0.02 250);

  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-surface: var(--surface);
  --color-border: var(--border);
  --color-muted-foreground: var(--muted-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-accent: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #000;
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.dark { color-scheme: dark; }

/* Layout utilities */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.w-full { width: 100%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[100svh\] { min-height: 100svh; }
.min-h-\[240px\] { min-height: 240px; }
.min-h-\[60vh\] { min-height: 60vh; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[220\] { z-index: 220; }
.z-\[9998\] { z-index: 9998; }
.z-\[9999\] { z-index: 9999; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto { overflow-y: auto; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col-span-full { grid-column: 1 / -1; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-28 { padding-top: 7rem; padding-bottom: 7rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pt-36 { padding-top: 9rem; }
.pt-40 { padding-top: 10rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.pl-3 { padding-left: 0.75rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-light { font-weight: 300; }
.font-extralight { font-weight: 200; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-through { text-decoration: line-through; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-8xl { font-size: 6rem; }
.text-\[0\.6rem\] { font-size: 0.6rem; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[clamp\(2rem\,5vw\,3\.75rem\)\] { font-size: clamp(2rem, 5vw, 3.75rem); }
.text-\[clamp\(2rem\,6vw\,3\.25rem\)\] { font-size: clamp(2rem, 6vw, 3.25rem); }
.text-\[clamp\(2\.25rem\,6vw\,4\.5rem\)\] { font-size: clamp(2.25rem, 6vw, 4.5rem); }
.text-\[clamp\(2\.5rem\,6vw\,5rem\)\] { font-size: clamp(2.5rem, 6vw, 5rem); }
.text-\[clamp\(2\.5rem\,7vw\,5rem\)\] { font-size: clamp(2.5rem, 7vw, 5rem); }
.text-\[clamp\(2\.75rem\,7vw\,5\.5rem\)\] { font-size: clamp(2.75rem, 7vw, 5.5rem); }
.leading-\[0\.95\] { line-height: 0.95; }
.leading-\[0\.98\] { line-height: 0.98; }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.05\] { line-height: 1.05; }
.tracking-\[-0\.03em\] { letter-spacing: -0.03em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }

.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-primary\/10 { color: oklch(0.68 0.20 262 / 0.1); }
.text-primary\/80 { color: oklch(0.68 0.20 262 / 0.8); }
.text-foreground\/80 { color: oklch(0.98 0.005 240 / 0.8); }
.text-red-400 { color: #f87171; }
.bg-black { background-color: #000; }
.bg-primary { background-color: var(--primary); }
.bg-current { background-color: currentColor; }
.bg-black\/60 { background-color: rgba(0,0,0,0.6); }
.bg-black\/75 { background-color: rgba(0,0,0,0.75); }
.bg-surface\/30 { background-color: oklch(0.12 0.025 260 / 0.3); }
.bg-surface\/40 { background-color: oklch(0.12 0.025 260 / 0.4); }
.bg-destructive { background-color: oklch(0.65 0.24 25); }
.text-destructive-foreground { color: oklch(0.98 0 0); }
.bg-primary\/10 { background-color: oklch(0.68 0.20 262 / 0.1); }

.border { border-width: 1px; border-style: solid; }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-l { border-left: 1px solid var(--border); }
.border-border\/30 { border-color: oklch(0.25 0.03 260 / 0.3); }
.border-border\/40 { border-color: oklch(0.25 0.03 260 / 0.4); }
.border-border\/50 { border-color: oklch(0.25 0.03 260 / 0.5); }
.border-border\/60 { border-color: oklch(0.25 0.03 260 / 0.6); }
.border-white\/10 { border-color: rgba(255,255,255,0.1); }
.border-primary\/20 { border-color: oklch(0.68 0.20 262 / 0.2); }
.border-primary\/40 { border-color: oklch(0.68 0.20 262 / 0.4); }
.border-primary\/50 { border-color: oklch(0.68 0.20 262 / 0.5); }
.border-accent\/15 { border-color: oklch(0.58 0.21 264 / 0.15); }
.border-dashed { border-style: dashed; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[28px\] { border-radius: 28px; }

.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.opacity-0 { opacity: 0; }
.opacity-15 { opacity: 0.15; }
.opacity-20 { opacity: 0.2; }
.opacity-25 { opacity: 0.25; }
.opacity-30 { opacity: 0.3; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }
.blur-2xl { filter: blur(40px); }
.blur-3xl { filter: blur(64px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 0.3s; }
.duration-500 { transition-duration: 0.5s; }
.block { display: block; }
.min-w-0 { min-width: 0; }
.min-w-4 { min-width: 1rem; }
.min-h-\[44px\] { min-height: 44px; }
.h-1\.5 { height: 0.375rem; }
.w-1\.5 { width: 0.375rem; }
.h-3 { height: 0.75rem; }
.w-5 { width: 1.25rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-7 { height: 1.75rem; }
.w-7 { width: 1.75rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-14 { height: 3.5rem; }
.w-14 { width: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.w-16 { width: 4rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.h-\[3px\] { height: 3px; }
.h-\[8px\] { height: 8px; }
.h-\[320px\] { height: 320px; }
.h-\[560px\] { height: 560px; }
.h-\[600px\] { height: 600px; }
.h-1\/2 { height: 50%; }
.w-\[1px\] { width: 1px; }
.w-\[560px\] { width: 560px; }
.w-\[600px\] { width: 600px; }
.w-\[900px\] { width: 900px; }
.w-auto { width: auto; }
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2.-translate-y-1\/2 { transform: translate(-50%, -50%); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-90 { transform: rotate(-90deg); }
.left-1\/2 { left: 50%; }
.top-1\/2 { top: 50%; }
.top-1\/3 { top: 33.333%; }
.-left-2 { left: -0.5rem; }
.-right-2 { right: -0.5rem; }
.-right-1 { right: -0.25rem; }
.-top-1 { top: -0.25rem; }
.-right-4 { right: -1rem; }
.-top-4 { top: -1rem; }
.-top-24 { top: -6rem; }
.top-24 { top: 6rem; }
.-right-16 { right: -4rem; }
.-top-16 { top: -4rem; }
.-right-20 { right: -5rem; }
.-top-20 { top: -5rem; }
.-inset-1 { inset: -0.25rem; }
.-inset-6 { inset: -1.5rem; }
.-inset-px { inset: -1px; }
.inset-8 { inset: 2rem; }
.inset-20 { inset: 5rem; }
.bottom-4 { bottom: 1rem; }
.bottom-6 { bottom: 1.5rem; }
.top-8 { top: 2rem; }
.left-6 { left: 1.5rem; }
.right-6 { right: 1.5rem; }
.mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
.pt-7 { padding-top: 1.75rem; }
.drop-shadow-\[0_20px_40px_oklch\(0\.85_0\.18_210\/0\.3\)\] {
  filter: drop-shadow(0 20px 40px oklch(0.85 0.18 210 / 0.3));
}
.duration-\[600ms\] { transition-duration: 600ms; }
.text-\[\#00ff88\] { color: #00ff88; }
.cursor-pointer { cursor: pointer; }
.group:hover .group-hover\:text-primary { color: var(--primary); }
.group:hover .md\:group-hover\:opacity-70 { opacity: 0.7; }
.group:hover .md\:group-hover\:opacity-60 { opacity: 0.6; }

.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent, transparent)); }
.from-black\/60 { --tw-gradient-from: rgba(0,0,0,0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-black\/20 { --tw-gradient-stops: var(--tw-gradient-from), rgba(0,0,0,0.2), var(--tw-gradient-to, transparent); }
.to-black { --tw-gradient-to: #000; }
.from-background { --tw-gradient-from: var(--background); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-background\/70 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0 0 0 / 0.7), var(--tw-gradient-to, transparent); }
.to-background { --tw-gradient-to: var(--background); }
.from-background\/80 { --tw-gradient-from: oklch(0 0 0 / 0.8); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-background\/20 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0 0 0 / 0.2), var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.from-primary\/60 { --tw-gradient-from: oklch(0.68 0.20 262 / 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-primary\/40 { --tw-gradient-stops: var(--tw-gradient-from), oklch(0.68 0.20 262 / 0.4), var(--tw-gradient-to, transparent); }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops, transparent, transparent)); }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, transparent, transparent)); }

/* Brand utilities */
.grid-lab {
  background-image:
    linear-gradient(oklch(0.68 0.20 262 / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.68 0.20 262 / 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.text-gradient {
  background: linear-gradient(180deg, oklch(1 0 0) 0%, oklch(0.75 0.05 220) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-cyan-gradient {
  background: linear-gradient(90deg, oklch(0.93 0.02 250), oklch(0.58 0.21 264), oklch(0.68 0.20 262));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.glass {
  background: linear-gradient(180deg, oklch(0.16 0.03 260 / 0.55), oklch(0.10 0.02 260 / 0.55));
  border: 1px solid oklch(1 0 0 / 0.08);
  backdrop-filter: blur(10px);
}
.glass-strong {
  background: linear-gradient(180deg, oklch(0.18 0.03 260 / 0.7), oklch(0.10 0.02 260 / 0.7));
  border: 1px solid oklch(1 0 0 / 0.1);
  backdrop-filter: blur(14px);
}
.glow-cyan {
  box-shadow:
    0 0 0 1px oklch(0.68 0.20 262 / 0.2),
    0 0 40px oklch(0.68 0.20 262 / 0.25),
    0 0 100px oklch(0.68 0.20 262 / 0.15);
}
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.99 0 0);
  background: linear-gradient(180deg, oklch(0.62 0.21 262), oklch(0.48 0.20 264));
  border-radius: 999px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 0 1px oklch(0.93 0.02 250 / 0.4), 0 10px 40px oklch(0.68 0.20 262 / 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px oklch(0.93 0.02 250 / 0.6), 0 20px 60px oklch(0.68 0.20 262 / 0.5);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: oklch(0.98 0.005 240);
  background: oklch(1 0 0 / 0.03);
  border: 1px solid oklch(1 0 0 / 0.15);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.08);
  border-color: oklch(0.68 0.20 262 / 0.5);
  color: oklch(0.68 0.20 262);
}
.btn-ghost.is-selected,
.payment-choice.is-selected {
  border-color: oklch(0.68 0.20 262 / 0.6);
  color: var(--primary);
  box-shadow: 0 0 0 1px oklch(0.68 0.20 262 / 0.25);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: oklch(0.68 0.20 262);
  background: oklch(0.68 0.20 262 / 0.08);
  border: 1px solid oklch(0.68 0.20 262 / 0.25);
  border-radius: 999px;
}
.section-gradient-a { background: radial-gradient(ellipse 80% 50% at 50% 0%, #050f22 0%, #000 70%); }
.section-gradient-b { background: radial-gradient(ellipse 60% 80% at 0% 50%, #100a14 0%, #000 70%); }
.section-gradient-c { background: radial-gradient(ellipse 100% 60% at 50% 100%, #220810 0%, #000 60%); }
.perspective-stage { perspective: 1400px; transform-style: preserve-3d; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-20px) rotate(1deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes shimmer-sweep {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

.animate-float-slow { animation: float-slow 8s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-reveal { animation: reveal-up 1s cubic-bezier(0.2,0.8,0.2,1) both; }
.animate-\[drift_60s_linear_infinite\] { animation: drift 60s linear infinite; }
.shimmer-text {
  background: linear-gradient(90deg, oklch(0.98 0.005 240) 0%, oklch(0.68 0.20 262) 50%, oklch(0.98 0.005 240) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
.shimmer-eyebrow {
  color: oklch(0.92 0.02 250) !important;
  animation: shimmer-sweep 2.5s ease-in-out infinite;
}
.marquee-track { animation: marquee 40s linear infinite; width: max-content; }

.noise::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,0.012) 3px, rgba(255,255,255,0.012) 4px);
  z-index: 2;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.product-card {
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), border-color 0.35s ease;
}
@media (hover: hover) {
  .product-card:hover { transform: translate3d(0, -6px, 0); }
}

/* Nav */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}
#site-header > * {
  pointer-events: auto;
}
#site-nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  background: linear-gradient(180deg, oklch(0.16 0.03 260 / 0.72), oklch(0.10 0.02 260 / 0.72));
  border: 1px solid oklch(1 0 0 / 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
#site-nav-pill a img {
  display: block;
  max-height: 3.5rem;
  width: auto;
}
.apex-primary-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.apex-primary-menu a { color: var(--muted-foreground); transition: color 0.2s; }
.apex-primary-menu a:hover,
.apex-primary-menu .current-menu-item > a { color: var(--primary); }
.apex-mobile-menu { list-style: none; }
.apex-mobile-menu a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--foreground);
}
.apex-mobile-menu a:hover { color: var(--primary); }
.apex-footer-menu a { color: var(--muted-foreground); transition: color 0.2s; display: block; }
.apex-footer-menu a:hover { color: var(--foreground); }
.apex-footer-menu li + li { margin-top: 0.75rem; }
#site-header.is-scrolled { padding-top: 0.75rem; padding-bottom: 0.75rem; }
#site-header.is-scrolled #site-nav-pill {
  box-shadow: 0 0 0 1px oklch(0.68 0.20 262 / 0.2), 0 0 40px oklch(0.68 0.20 262 / 0.25);
  background: linear-gradient(180deg, oklch(0.18 0.03 260 / 0.85), oklch(0.10 0.02 260 / 0.85));
  border-color: oklch(1 0 0 / 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#mobile-menu:not([hidden]) { display: block; opacity: 1; pointer-events: auto; }
#mobile-menu-toggle[aria-expanded="true"] .burger-line:first-child { transform: translateY(5px) rotate(45deg); }
#mobile-menu-toggle[aria-expanded="true"] .burger-line:last-child { transform: translateY(-5px) rotate(-45deg); }
.cart-count-badge.is-hidden { display: none !important; }
.cart-toggle:hover {
  border-color: oklch(0.68 0.20 262 / 0.5);
  color: var(--primary);
}
.hover\:text-primary:hover { color: var(--primary); }
.hover\:border-primary\/50:hover { border-color: oklch(0.68 0.20 262 / 0.5); }

/* Forms */
.apex-input,
.apex-label + input,
.apex-label + select,
.apex-label + textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: oklch(0.10 0.02 260 / 0.92);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.apex-input::placeholder {
  color: oklch(0.55 0.02 250);
}
.apex-input:focus {
  outline: none;
  border-color: oklch(0.68 0.20 262 / 0.55);
  box-shadow: 0 0 0 2px oklch(0.68 0.20 262 / 0.18);
}
.apex-input--textarea {
  min-height: 5.5rem;
  resize: vertical;
}
.apex-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
#apex-checkout-form .apex-checkout-step[hidden] {
  display: none !important;
}
#apex-to-pay:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.text-destructive { color: oklch(0.72 0.18 25); }
.gap-2\.5 { gap: 0.625rem; }
.tracking-wider { letter-spacing: 0.05em; }
.flex-\[1\.4\] { flex: 1.4 1 0%; }
.flex-\[1\.6\] { flex: 1.6 1 0%; }
.bg-primary\/10 { background-color: oklch(0.68 0.20 262 / 0.1); }
.bg-primary\/15 { background-color: oklch(0.68 0.20 262 / 0.15); }
.border-border\/70 { border-color: oklch(0.25 0.03 260 / 0.7); }
.resize-none { resize: none; }

/* BAC upsell + research ack */
.apex-bac-upsell {
  border-radius: 1.15rem;
  border: 1px solid oklch(0.68 0.20 262 / 0.4);
  background: linear-gradient(180deg, oklch(0.68 0.20 262 / 0.12), oklch(0.10 0.03 260 / 0.65));
  padding: 1.15rem 1.15rem 1.2rem;
}
.apex-bac-upsell__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.apex-bac-upsell__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: oklch(0.68 0.20 262 / 0.15);
  color: var(--primary);
  flex-shrink: 0;
}
.apex-bac-upsell__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.25;
}
.apex-bac-upsell__sub {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.apex-bac-upsell__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1rem;
}
@media (min-width: 480px) {
  .apex-bac-upsell__options {
    grid-template-columns: 1fr 1fr;
  }
}
.apex-bac-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid oklch(0.68 0.20 262 / 0.35);
  background: rgba(0, 0, 0, 0.35);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.apex-bac-option:hover {
  border-color: oklch(0.68 0.20 262 / 0.55);
  background: rgba(0, 0, 0, 0.45);
}
.apex-bac-option.is-selected {
  border-color: oklch(0.68 0.20 262 / 0.75);
  background: oklch(0.68 0.20 262 / 0.16);
  box-shadow: 0 0 0 1px oklch(0.68 0.20 262 / 0.2), inset 0 0 0 1px oklch(0.68 0.20 262 / 0.12);
}
.apex-bac-option__radio {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 1.5px solid oklch(0.68 0.20 262 / 0.55);
  flex-shrink: 0;
  position: relative;
}
.apex-bac-option.is-selected .apex-bac-option__radio {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #05080f;
}
.apex-bac-option__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}
.apex-bac-option__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}
.apex-bac-option__hint {
  font-size: 0.72rem;
  color: var(--muted-foreground);
}
.apex-bac-option__price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  flex-shrink: 0;
}
.apex-bac-option.is-selected .apex-bac-option__price {
  color: #fff;
}
.apex-ack {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.12 0.025 260 / 0.45);
  cursor: pointer;
}
.apex-ack__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.apex-ack__box {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 0.3rem;
  border: 1.5px solid oklch(1 0 0 / 0.25);
  background: rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
  position: relative;
}
.apex-ack__input:checked + .apex-ack__box {
  border-color: var(--primary);
  background: var(--primary);
}
.apex-ack__input:checked + .apex-ack__box::after {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.08rem;
  width: 0.32rem;
  height: 0.58rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.apex-ack__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.apex-ack__text strong {
  color: var(--foreground);
  font-weight: 500;
}

/* Checkout payment step — compact */
.apex-pay-step { gap: 0.9rem; }
.apex-pay-card {
  border-radius: 1.1rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: oklch(0.12 0.025 260 / 0.55);
  padding: 1rem 1.05rem 1.1rem;
}
.apex-pay-card__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.apex-pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.apex-pay-method {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.75rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: rgba(0, 0, 0, 0.3);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.apex-pay-method.is-selected[data-pay="venmo"] {
  border-color: #008CFF;
  background: #008CFF14;
  box-shadow: 0 0 0 1px #008CFF33;
}
.apex-pay-method.is-selected[data-pay="zelle"] {
  border-color: #6D1ED4;
  background: #6D1ED414;
  box-shadow: 0 0 0 1px #6D1ED433;
}
.apex-pay-method__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}
.apex-pay-method__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.apex-pay-method__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}
.apex-pay-method__hint {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.apex-pay-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.apex-pay-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s, background 0.2s;
}
.apex-pay-qr.is-selected[data-pay="venmo"] {
  border-color: #008CFF;
  background: #008CFF12;
}
.apex-pay-qr.is-selected[data-pay="zelle"] {
  border-color: #6D1ED4;
  background: #6D1ED412;
}
.apex-pay-qr__name {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.apex-pay-qr__frame {
  width: 100%;
  max-width: 112px;
  aspect-ratio: 1;
  border-radius: 0.7rem;
  background: #fff;
  padding: 0.4rem;
  overflow: hidden;
}
.apex-pay-qr__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.apex-pay-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(180deg, oklch(0.16 0.03 260 / 0.8), oklch(0.10 0.02 260 / 0.85));
}
.apex-pay-footer__label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.apex-pay-footer__amount {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}
.apex-pay-footer__edit {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.2s;
}
.apex-pay-footer__edit:hover { color: var(--primary); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Checkout success confirmation */
#apex-checkout-success[hidden] { display: none !important; }
.apex-success {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
.apex-success__card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(180deg, oklch(0.14 0.03 260 / 0.95), oklch(0.08 0.02 260 / 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px oklch(0.68 0.20 262 / 0.08);
  padding: 1.75rem 1.35rem 1.35rem;
  text-align: center;
}
@media (min-width: 480px) {
  .apex-success__card { padding: 2rem 1.75rem 1.5rem; }
}
.apex-success__glow {
  pointer-events: none;
  position: absolute;
  top: -5rem;
  left: 50%;
  width: 14rem;
  height: 14rem;
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: 0.45;
  filter: blur(40px);
  background: radial-gradient(circle, oklch(0.68 0.20 262 / 0.55), transparent 70%);
}
.apex-success__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid oklch(0.68 0.20 262 / 0.45);
  background: oklch(0.68 0.20 262 / 0.14);
  color: var(--primary);
}
.apex-success__eyebrow {
  position: relative;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.apex-success__title {
  position: relative;
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.apex-success__copy {
  position: relative;
  margin: 0.85rem auto 0;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.apex-success__order {
  position: relative;
  margin-top: 1.35rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid oklch(0.68 0.20 262 / 0.28);
  background: oklch(0.68 0.20 262 / 0.07);
}
.apex-success__order-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.apex-success__order-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid oklch(0.68 0.20 262 / 0.4);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  color: var(--primary);
  transition: border-color 0.2s, background 0.2s;
}
.apex-success__order-id:hover {
  border-color: oklch(0.68 0.20 262 / 0.65);
  background: oklch(0.68 0.20 262 / 0.12);
}
.apex-success__order-id #apex-copy-label {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  padding-left: 0.65rem;
  border-left: 1px solid oklch(0.68 0.20 262 / 0.35);
}
.apex-success__total {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.apex-success__actions {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.15rem;
}
@media (min-width: 480px) {
  .apex-success__actions {
    grid-template-columns: 1fr 1fr;
  }
}
.apex-success__btn {
  width: 100%;
  justify-content: center;
  min-height: 2.85rem;
}
.apex-success__legal {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.68rem;
  line-height: 1.5;
  color: oklch(0.55 0.02 250);
}
@media (max-width: 420px) {
  .apex-pay-methods { grid-template-columns: 1fr; }
  .apex-pay-qr__frame { max-width: 96px; }
}

/* Cart drawer */
#cart-drawer:not([hidden]) { display: flex; }
#cart-drawer[hidden] { display: none !important; }

/* Detail modal — React storefront dialog (image | details) */
#apex-detail-modal,
.apex-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}
@media (min-width: 640px) {
  .apex-detail-modal { padding: 1.25rem; }
}
#apex-detail-modal:not([hidden]),
.apex-detail-modal:not([hidden]),
.apex-detail-modal.is-open {
  display: flex !important;
}
#apex-detail-modal[hidden] {
  display: none !important;
}
body.apex-modal-open {
  overflow: hidden;
}
.apex-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  cursor: pointer;
}
.apex-detail-modal__panel {
  --apex-modal-accent: oklch(0.72 0.18 262);
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(92svh, 620px);
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid oklch(1 0 0 / 0.1);
  background: linear-gradient(180deg, #10131a 0%, #07090e 100%);
  box-shadow:
    0 0 0 1px oklch(0.68 0.20 262 / 0.1),
    0 30px 90px rgba(0, 0, 0, 0.7);
}
.apex-detail-modal[data-modal-type="product"] .apex-detail-modal__panel {
  max-height: min(92svh, 580px);
}
.apex-detail-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.apex-detail-modal__close:hover {
  border-color: oklch(0.68 0.20 262 / 0.45);
  color: #fff;
  background: rgba(0, 0, 0, 0.75);
}
.apex-detail-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
  max-height: inherit;
  height: 100%;
}
@media (min-width: 760px) {
  .apex-detail-modal__grid {
    grid-template-columns: 1fr 1.05fr;
    min-height: 460px;
  }
}
.apex-detail-modal__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  max-height: 42svh;
  background: #000;
  overflow: hidden;
}
@media (min-width: 760px) {
  .apex-detail-modal__media {
    min-height: 100%;
    max-height: none;
    border-right: 1px solid oklch(1 0 0 / 0.06);
  }
}
.apex-detail-modal__glow {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  opacity: 0.42;
  filter: blur(40px);
  pointer-events: none;
}
.apex-detail-modal__img {
  position: relative;
  z-index: 1;
  width: auto;
  height: min(210px, 40vw);
  max-width: 78%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
}
@media (min-width: 760px) {
  .apex-detail-modal__img {
    height: min(360px, 55vh);
  }
}
.apex-detail-modal__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 1.15rem;
  border: 1px solid;
  font-family: var(--font-mono);
  font-size: 1.75rem;
}
.apex-detail-modal__side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 1.15rem 1.15rem 1.2rem;
  overflow: visible;
}
@media (min-width: 760px) {
  .apex-detail-modal__side {
    padding: 1.85rem 3.4rem 1.65rem 1.85rem;
  }
}
.apex-detail-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-right: 2.4rem;
}
.apex-detail-modal__pill,
.apex-detail-modal__cat {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.78 0.02 250);
}
.apex-detail-modal__purity {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.apex-detail-modal__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}
.apex-detail-modal__tagline {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--apex-modal-accent);
}
.apex-detail-modal__spec {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 250);
}
.apex-detail-modal__dot {
  margin: 0 0.35rem;
  opacity: 0.55;
}
.apex-detail-modal__desc {
  margin-top: 0.95rem;
  font-size: 0.925rem;
  line-height: 1.65;
  color: oklch(0.78 0.01 250);
  max-width: 34rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.apex-detail-modal__rule {
  margin-top: auto;
  height: 1px;
  width: 100%;
  background: oklch(1 0 0 / 0.1);
}
.apex-detail-modal__items {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.apex-detail-modal__items li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.875rem;
}
.apex-detail-modal__item-name { color: rgba(255, 255, 255, 0.9); }
.apex-detail-modal__item-price {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: oklch(0.62 0.02 250);
  font-variant-numeric: tabular-nums;
}
.apex-detail-modal__savings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: oklch(0.62 0.02 250);
}
.apex-detail-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1.1rem;
}
.apex-detail-modal__price {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff !important;
}
.apex-detail-modal__you-save {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 250);
}
.apex-detail-modal__cta {
  flex-shrink: 0;
}
.apex-detail-modal__cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.apex-detail-modal__icon[hidden],
.apex-detail-modal__img[hidden],
.apex-detail-modal__tagline[hidden],
.apex-detail-modal__items[hidden],
.apex-detail-modal__savings[hidden],
.apex-detail-modal__you-save[hidden],
.apex-detail-modal__purity[hidden],
[data-apex-modal-product-view][hidden],
[data-apex-modal-stack-view][hidden] {
  display: none !important;
}
@media (max-width: 759px) {
  .apex-detail-modal[data-modal-type="product"] .apex-detail-modal__panel {
    max-height: min(94svh, 760px);
    overflow: auto;
    scrollbar-width: none;
  }
  .apex-detail-modal[data-modal-type="product"] .apex-detail-modal__panel::-webkit-scrollbar {
    display: none;
  }
  .apex-detail-modal__rule {
    margin-top: 1.15rem;
  }
  .apex-detail-modal__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .apex-detail-modal__cta {
    width: 100%;
    justify-content: center;
  }
}

.apex-card { cursor: pointer; }
.apex-card:focus-visible {
  outline: 2px solid oklch(0.68 0.20 262 / 0.7);
  outline-offset: 3px;
}
.apex-card .apex-modal-payload { display: none; }
.apex-card-footer .woocommerce-Price-amount,
.apex-card-footer .amount {
  color: inherit;
}

/* Stack cards — React layout */
.stack-card {
  border-radius: 1.5rem;
  border: 1px solid;
  padding: 1.5rem 1.4rem 1.35rem;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (hover: hover) {
  .stack-card:hover {
    transform: translate3d(0, -6px, 0);
    box-shadow: 0 0 0 1px var(--stack-ring), 0 24px 60px rgba(0,0,0,0.45), 0 0 40px color-mix(in oklab, var(--stack-accent) 20%, transparent);
  }
}
.stack-card__glow {
  pointer-events: none;
  position: absolute;
  top: -6rem;
  left: 50%;
  width: 14rem;
  height: 14rem;
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: 0.35;
  filter: blur(48px);
  background: var(--stack-glow);
  transition: opacity 0.3s;
}
.stack-card:hover .stack-card__glow { opacity: 0.65; }
.stack-card__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.stack-card__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.stack-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid;
  flex-shrink: 0;
}
.stack-card__badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.2;
}
.stack-card__audience {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 250);
  line-height: 1.35;
}
.stack-card__hot {
  flex-shrink: 0;
  border-radius: 999px;
  background: oklch(0.58 0.22 25);
  color: #fff;
  padding: 0.28rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stack-card__title {
  position: relative;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.stack-card__tagline {
  position: relative;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.35;
}
.stack-card__desc {
  position: relative;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: oklch(0.7 0.015 250);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stack-card__items {
  position: relative;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.stack-card__items li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
}
.stack-card__item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: rgba(255,255,255,0.9);
}
.stack-card__item-left svg { flex-shrink: 0; }
.stack-card__dose { color: oklch(0.62 0.02 250); }
.stack-card__item-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: oklch(0.62 0.02 250);
  font-variant-numeric: tabular-nums;
}
.stack-card__more {
  padding-left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.55 0.02 250);
}
.stack-card__foot {
  position: relative;
  margin-top: auto;
  padding-top: 1.25rem;
}
.stack-card__compare {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: oklch(0.58 0.02 250);
}
.stack-card__buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.stack-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stack-card__you-save {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(0.62 0.02 250);
}
.stack-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.stack-card__cta:hover { color: var(--stack-accent); }

/* Stack modal — React kit dialog (no scrollbar) */
.stack-modal {
  padding: 1.5rem 1.35rem 1.35rem;
  overflow: visible;
}
@media (min-width: 640px) {
  .stack-modal { padding: 1.75rem 1.75rem 1.5rem; }
}
.stack-modal[hidden],
[data-apex-modal-product-view][hidden],
[data-apex-modal-stack-view][hidden] {
  display: none !important;
}
.apex-detail-modal[data-modal-type="stack"] .apex-detail-modal__panel {
  width: min(100%, 560px);
  height: auto;
  max-height: none;
  overflow: visible;
}
.stack-modal__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding-right: 2.5rem;
}
.stack-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--stack-modal-accent, var(--primary)) 45%, transparent);
  background: color-mix(in oklab, var(--stack-modal-accent, var(--primary)) 10%, transparent);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stack-modal-accent, var(--primary));
}
.stack-modal__badge svg { display: block; }
.stack-modal__hot {
  border-radius: 999px;
  background: oklch(0.58 0.22 25);
  color: #fff;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.stack-modal__title {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}
.stack-modal__tagline {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.stack-modal__audience {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: oklch(0.6 0.02 250);
}
.stack-modal__desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: oklch(0.72 0.015 250);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stack-modal__items {
  list-style: none;
  margin: 0.95rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem 1.1rem;
}
@media (min-width: 520px) {
  .stack-modal__items { grid-template-columns: 1fr 1fr; }
}
.stack-modal__items li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
}
.stack-modal__item-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.stack-modal__item-name { color: #fff; font-weight: 500; }
.stack-modal__item-dose { color: oklch(0.62 0.02 250); }
.stack-modal__item-price {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: oklch(0.72 0.02 250);
  font-variant-numeric: tabular-nums;
}
.stack-modal__pricebox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in oklab, var(--stack-modal-accent, var(--primary)) 40%, transparent);
  background: color-mix(in oklab, var(--stack-modal-accent, var(--primary)) 8%, #05080f);
}
.stack-modal__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stack-modal__compare {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: oklch(0.6 0.02 250);
}
.stack-modal__compare span:first-child { text-decoration: line-through; }
.stack-modal__off {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  white-space: nowrap;
}
.stack-modal__cta {
  width: 100%;
  justify-content: center;
  margin-top: 0.85rem;
  min-height: 2.9rem;
}
.stack-modal__cta.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}
.tabular-nums { font-variant-numeric: tabular-nums; }
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.space-y-2 > * + * { margin-top: 0.5rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.text-\[0\.58rem\] { font-size: 0.58rem; }
.leading-snug { line-height: 1.375; }
.cursor-pointer { cursor: pointer; }
.rounded-t-3xl { border-radius: 1.5rem 1.5rem 0 0; }
.max-h-\[92svh\] { max-height: 92svh; }
.grid-cols-\[1fr_auto\] { grid-template-columns: 1fr auto; }
.text-foreground\/85 { color: oklch(0.98 0.005 240 / 0.85); }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.h-44 { height: 11rem; }
.h-48 { height: 12rem; }
.h-52 { height: 13rem; }
.gap-x-3 { column-gap: 0.75rem; }
.gap-y-1 { row-gap: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-14 { margin-bottom: 3.5rem; }
.items-end { align-items: flex-end; }
.cart-item {
  border-radius: 1rem;
  padding: 0.75rem 1rem;
}
.checkout-step.is-active span:first-child {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.checkout-step.is-done span:first-child {
  border-color: var(--primary);
  color: var(--primary);
}

/* Important overrides used in templates */
.\!py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.\!py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.\!py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.\!px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.\!px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.\!px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.\!px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.\!text-\[0\.6rem\] { font-size: 0.6rem !important; }
.\!text-\[0\.65rem\] { font-size: 0.65rem !important; }
.\!text-\[0\.7rem\] { font-size: 0.7rem !important; }
.\!text-\[0\.75rem\] { font-size: 0.75rem !important; }

@media (min-width: 640px) {
  .sm\:px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:p-6 { padding: 1.5rem; }
  .sm\:p-8 { padding: 2rem; }
  .sm\:p-10 { padding: 2.5rem; }
  .sm\:h-14 { height: 3.5rem; }
  .sm\:h-20 { height: 5rem; }
  .sm\:h-64 { height: 16rem; }
  .sm\:h-\[380px\] { height: 380px; }
  .sm\:h-52 { height: 13rem; }
  .sm\:h-56 { height: 14rem; }
  .sm\:text-2xl { font-size: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; }
  .sm\:text-4xl { font-size: 2.25rem; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-\[180px_1fr\] { grid-template-columns: 180px 1fr; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:inline { display: inline !important; }
  .sm\:py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .sm\:items-center { align-items: center; }
  .sm\:rounded-3xl { border-radius: 1.5rem; }
  .sm\:pt-40 { padding-top: 10rem; }
  .sm\:pt-20 { padding-top: 5rem; }
  .sm\:pt-32 { padding-top: 8rem; }
  .sm\:pb-10 { padding-bottom: 2.5rem; }
  .sm\:pb-16 { padding-bottom: 4rem; }
  .sm\:mt-14 { margin-top: 3.5rem; }
  .sm\:mt-16 { margin-top: 4rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:gap-10 { gap: 2.5rem; }
  .sm\:gap-12 { gap: 3rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:mx-6 { margin-left: 1.5rem; margin-right: 1.5rem; }
  .sm\:w-auto { width: auto; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:tracking-\[0\.3em\] { letter-spacing: 0.3em; }
  .sm\:text-\[0\.65rem\] { font-size: 0.65rem; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:hidden { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-\[1fr_1\.2fr\] { grid-template-columns: 1fr 1.2fr; }
  .md\:grid-cols-\[1\.5fr_1fr_1fr_1fr\] { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:items-end { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:p-12 { padding: 3rem; }
  .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
  .md\:ml-auto { margin-left: auto; }
  .md\:block { display: block !important; }
  .md\:h-\[440px\] { height: 440px; }
  .md\:gap-8 { gap: 2rem; }
  .group:hover .md\:group-hover\:opacity-80 { opacity: 0.8; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-\[1\.05fr_1fr\] { grid-template-columns: 1.05fr 1fr; }
  .lg\:grid-cols-\[1\.3fr_1fr\] { grid-template-columns: 1.3fr 1fr; }
  .lg\:grid-cols-\[1\.2fr_1fr\] { grid-template-columns: 1.2fr 1fr; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:mx-0 { margin-left: 0; margin-right: 0; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

#intro-overlay.is-split #intro-top,
#apex-intro-overlay.is-split #apex-intro-top { transform: translateY(-100%); }
#intro-overlay.is-split #intro-bottom,
#apex-intro-overlay.is-split #apex-intro-bottom { transform: translateY(100%); }

/* Overlays — must sit above hero z-10 / header z-50 */
#age-gate,
#apex-age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}
#age-gate:not([hidden]),
#apex-age-gate:not([hidden]) {
  display: flex !important;
}
#age-gate[hidden],
#apex-age-gate[hidden] {
  display: none !important;
}
#age-gate.is-closing,
#apex-age-gate.is-closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
#age-gate > .glass-strong,
#apex-age-gate > .glass-strong {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, oklch(0.16 0.03 260 / 0.98), oklch(0.09 0.02 260 / 0.98));
  box-shadow:
    0 0 0 1px oklch(0.68 0.20 262 / 0.25),
    0 24px 80px rgba(0, 0, 0, 0.65),
    0 0 60px oklch(0.68 0.20 262 / 0.15);
}

#intro-overlay,
#apex-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
}
#intro-overlay[hidden],
#apex-intro-overlay[hidden] {
  display: none !important;
}

#cart-drawer {
  z-index: 220;
}

/* Bottom CTA — explicit spacing (do not rely on missing utilities) */
.apex-bottom-cta {
  position: relative;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 640px) {
  .apex-bottom-cta {
    padding: 7rem 0 7.5rem;
  }
}
.apex-bottom-cta__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  opacity: 0.4;
  filter: blur(64px);
  background: radial-gradient(circle, oklch(0.68 0.20 262 / 0.5), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.apex-bottom-cta__inner {
  position: relative;
  z-index: 1;
}
.apex-bottom-cta__title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.apex-bottom-cta__body {
  margin-top: 1.5rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.65;
}
.apex-bottom-cta__actions {
  margin-top: 2.5rem;
}
.site-footer {
  position: relative;
  z-index: 1;
  clear: both;
}

/* WooCommerce shop/archive chrome — catalog uses custom layout */
.apex-catalog .woocommerce-breadcrumb,
.woocommerce-shop .woocommerce-breadcrumb,
.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce-pagination,
ul.products.columns-4::before,
.woocommerce-shop .woocommerce-notices-wrapper:empty {
  display: none !important;
}
body.woocommerce-shop #main.site-main:not(.apex-catalog) > .woocommerce-breadcrumb,
body.woocommerce-shop #main.site-main:not(.apex-catalog) > .woocommerce-products-header {
  display: none !important;
}

/* Clamp / arbitrary utilities used on catalog + home */
.text-\[clamp\(2\.25rem\,6vw\,4\.5rem\)\] { font-size: clamp(2.25rem, 6vw, 4.5rem); }
.text-\[clamp\(2rem\,5vw\,3\.75rem\)\] { font-size: clamp(2rem, 5vw, 3.75rem); }
.text-\[clamp\(2\.75rem\,7vw\,5\.5rem\)\] { font-size: clamp(2.75rem, 7vw, 5.5rem); }
.text-\[clamp\(2\.5rem\,6vw\,5rem\)\] { font-size: clamp(2.5rem, 6vw, 5rem); }
.text-\[clamp\(2rem\,6vw\,3\.25rem\)\] { font-size: clamp(2rem, 6vw, 3.25rem); }
.leading-\[1\.02\] { line-height: 1.02; }
.leading-\[1\.05\] { line-height: 1.05; }
.leading-\[0\.95\] { line-height: 0.95; }
.h-\[600px\] { height: 600px; }
.h-\[520px\] { height: 520px; }
.h-\[560px\] { height: 560px; }
.w-\[900px\] { width: 900px; }
.w-\[560px\] { width: 560px; }
.w-\[600px\] { width: 600px; }

/* ═══════════════════════════════════════════
   Site-wide responsive layer
   ═══════════════════════════════════════════ */
.site-main {
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}
.site-footer {
  width: 100%;
  overflow-x: clip;
}

/* Soften heavy section padding on small screens */
@media (max-width: 767px) {
  .py-32 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
  .py-24 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .pt-32 {
    padding-top: 6.5rem;
  }
  .mb-16 {
    margin-bottom: 2.5rem;
  }
  .mt-16 {
    margin-top: 2.75rem;
  }
  .gap-16 {
    gap: 2rem;
  }
  .grid-cols-3 {
    gap: 0.75rem;
  }
  .text-8xl {
    font-size: 4rem;
  }
  /* Hero stats / lab banners */
  #top .grid-cols-3 > * {
    min-width: 0;
  }
  section .mx-auto.max-w-7xl,
  section .mx-auto.max-w-6xl,
  section .mx-auto.max-w-5xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* Lab lineup banner: keep text readable */
  .aspect-\[21\/9\] {
    aspect-ratio: 16 / 10;
    min-height: 14rem;
  }
  .aspect-\[21\/9\] .p-10,
  .aspect-\[21\/9\] > .absolute.inset-y-0 {
    padding: 1.25rem !important;
  }
  .aspect-\[21\/9\] .font-display.text-3xl {
    font-size: 1.35rem;
    line-height: 1.25;
  }
  /* Product / stack cards */
  .product-card,
  .stack-card {
    min-width: 0;
  }
  /* Cart drawer full-bleed on phones */
  #cart-drawer aside {
    max-width: 100%;
  }
  /* Header pill tighter */
  #site-nav-pill {
    gap: 0.5rem;
    min-height: 3.25rem;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  #site-nav-pill a img {
    max-height: 2.75rem;
  }
  /* Mobile menu safe area */
  #mobile-menu {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #mobile-menu > div {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
  /* Hero floating chips can overflow */
  .absolute.-left-2,
  .absolute.-right-2 {
    max-width: calc(50vw - 1rem);
  }
}

@media (max-width: 479px) {
  .btn-primary,
  .btn-ghost {
    min-height: 2.75rem;
  }
  .product-card {
    padding: 1.1rem !important;
  }
  .hero-stat-value,
  #top .font-display.text-2xl {
    font-size: 1.15rem;
  }
}

/* Prevent horizontal scroll from decorative blurs / wide grids */
html, body {
  max-width: 100%;
}
img, svg, video, canvas {
  max-width: 100%;
}
.perspective-stage {
  overflow: visible;
}
@media (max-width: 639px) {
  .perspective-stage {
    transform: none;
    perspective: none;
  }
}
