/* PrestigeX — Inter design system, #FF6B35 accent, #0a0a0a background */

:root {
  --accent: #FF6B35;
  --accent-2: #ff8c5a;
  --accent-soft: rgba(255, 107, 53, 0.12);
  --accent-glow: rgba(255, 107, 53, 0.35);

  --bg: #0a0a0a;
  --bg-elev: #141414;
  --bg-elev-2: #1a1a1a;
  --bg-elev-3: #202020;
  --border: #252525;
  --border-strong: #363636;
  --border-accent: rgba(255, 107, 53, 0.45);

  --fg: #ffffff;
  --fg-mute: rgba(255, 255, 255, 0.70);
  --fg-dim: rgba(255, 255, 255, 0.48);
  --fg-faint: rgba(255, 255, 255, 0.20);

  --success: #22c55e;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px -8px rgba(0,0,0,0.5);
  --shadow-elev: 0 20px 60px -20px rgba(0,0,0,0.7), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 40px rgba(255,107,53,0.08), 0 0 0 1px var(--border);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; padding: 0; overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 100vw;
}
img, svg, video, canvas, iframe { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* Dark scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }
* { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }


/* ── Fixed top glow ── */
body::before {
  content: "";
  position: fixed; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.12) 0%, transparent 65%);
  z-index: 0;
  filter: blur(40px);
}
#root { position: relative; z-index: 1; }

/* ── Fade-in-up animation (scroll reveal) ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; min-width: 0; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; min-width: 0; }

/* ── Typography ── */
.display-1 {
  font-size: clamp(52px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}
.display-2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
}
.display-3 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.title-1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.title-2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.title-3 { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.35; }

.body-lg { font-size: 17px; line-height: 1.65; color: var(--fg-mute); font-weight: 400; }
.body    { font-size: 15px; line-height: 1.65; color: var(--fg-mute); font-weight: 400; }
.body-sm { font-size: 13px; line-height: 1.55; color: var(--fg-mute); font-weight: 400; }

.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before { content: "●"; font-size: 7px; }

.eyebrow-dim {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-dim);
}

/* Gradient accent text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section heading gradient — white top, warm near-white bottom */
.heading-gradient {
  background: linear-gradient(175deg, #ffffff 0%, rgba(255, 218, 195, 0.80) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* Child spans with explicit colour must override -webkit-text-fill-color */
.heading-gradient .accent-span {
  -webkit-text-fill-color: var(--accent);
  background: none;
}

/* ── Buttons ── */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  height: 44px;
  border-radius: var(--r-sm);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-lg { height: 50px; padding: 14px 28px; font-size: 15px; border-radius: 8px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--accent);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent),
              0 0 24px rgba(255,107,53,0.55),
              0 8px 32px -4px rgba(255,107,53,0.45);
}
.btn-primary:active { transform: translateY(0); filter: brightness(1); box-shadow: 0 0 0 1px var(--accent); }
.btn-secondary {
  background: var(--bg-elev-2);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--border-strong);
  border-radius: 8px;
}
.btn-secondary:hover {
  background: var(--bg-elev-3);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px var(--border-accent),
              0 0 18px rgba(255,107,53,0.2),
              0 6px 20px -4px rgba(0,0,0,0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  box-shadow: 0 0 0 1px #383838;
  border-radius: 8px;
}
.btn-ghost:hover {
  box-shadow: 0 0 0 1px var(--accent),
              0 0 18px rgba(255,107,53,0.25),
              0 6px 20px -4px rgba(255,107,53,0.15);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0); }
.btn-link {
  background: transparent;
  color: var(--fg-mute);
  padding: 0;
  height: auto;
  border-radius: 0;
}
.btn-link:hover { color: var(--accent); }

/* ── Pills / Tags ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 1px var(--border-strong) inset;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-mute);
}
.pill-accent {
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--border-accent) inset;
  color: var(--accent-2);
}
.pill-live-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,107,53,0.08);
  box-shadow: 0 0 0 1px var(--border-accent) inset;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.02em;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1px var(--border) inset;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.tag-accent {
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--border-accent) inset;
  color: var(--accent-2);
}

/* ── Card / Surface ── */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.card:hover {
  border-color: rgba(255,107,53,0.55);
  box-shadow: 0 0 40px rgba(255,107,53,0.1), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.glass {
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
}

/* ── Sections ── */
section { position: relative; }
.section { padding: 120px 0; }
.section-tight { padding: 72px 0; }
.section-lg { padding: 128px 0; }

/* Alternating section backgrounds for visual rhythm */
.section:nth-of-type(even),
.section-lg:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, transparent 100%);
}

/* Ambient orange accent glow that appears on alternate sections */
.section-glow::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(20px);
}
.section-glow > * { position: relative; z-index: 1; }

/* Gradient top border on sections to add subtle colour accent */
.section-accent-top {
  border-top: 1px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)),
    linear-gradient(90deg, transparent, rgba(255,107,53,0.35) 50%, transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Section label pill */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; color: var(--accent); font-size: 12px; letter-spacing: 0; }

/* ── Marquee ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  max-width: 100vw;
  mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: marquee 42s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: var(--banner-h, 0px); left: 0; right: 0;
  z-index: 200;
  padding: 0;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(8,8,8,0.90);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  /* gradient bottom border: fades from transparent → orange glow → transparent */
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05),
              inset 0 -1px 0 rgba(255,107,53,0.08);
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  will-change: transform;
}
/* Glowing gradient line at bottom of nav */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 20%,
    rgba(255,107,53,0.22) 50%,
    rgba(255,255,255,0.08) 80%,
    transparent 100%);
  pointer-events: none;
}
.nav.nav-hidden { transform: translateY(calc(-100% - var(--banner-h, 0px))); }
.nav { transition: top 0.32s cubic-bezier(0.4,0,0.2,1), transform 0.32s cubic-bezier(0.4,0,0.2,1); }
.nav.nav-scrolled {
  background: rgba(5,5,5,0.97);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
/* Center column — always truly centered regardless of left/right widths */
.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  justify-self: center;
}
.nav-desktop-cta {
  justify-self: end;
}

/* Vertical divider between links and CTA */
.nav-divider {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.12), transparent);
  flex-shrink: 0;
  margin: 0 8px;
}

.nav-hamburger {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-sm); border: 0;
  background: transparent; cursor: pointer; color: var(--fg); flex-shrink: 0;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.06); }

/* Nav links — underline style, no background fill */
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.58);
  padding: 6px 14px;
  border-radius: 0;
  text-decoration: none;
  position: relative;
  transition: color 0.18s ease;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}
/* Reset for <button> elements used as nav links */
button.nav-link { appearance: none; background: transparent; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255,107,53,0.6);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: #fff; font-weight: 600; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-desktop-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 19px; font-weight: 800; letter-spacing: -0.03em;
  color: var(--fg); text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #c2410c 100%);
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 0 16px rgba(255,107,53,0.35), 0 6px 18px -6px rgba(255,107,53,0.5);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

/* ── Discord nav button ── */
.nav-discord-btn {
  background: #5865f2;
  color: #fff !important;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #5865f2;
  height: 38px;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
  gap: 8px;
}
.nav-discord-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #5865f2,
              0 0 22px rgba(88,101,242,0.55),
              0 8px 28px -4px rgba(88,101,242,0.45);
}

/* ── Avatars ── */
.avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  box-shadow: 0 0 0 2px var(--bg);
}
.avatar-lg { width: 40px; height: 40px; font-size: 14px; }
.avatar-stack { display: inline-flex; }
.avatar-stack > .avatar:not(:first-child) { margin-left: -9px; }

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 76px - var(--banner-h, 0px));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 64px 0 64px;
  margin-top: calc(76px + var(--banner-h, 0px));
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 900px 600px at 50% -5%, rgba(255,107,53,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(rgba(255,255,255,0.018) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 100%);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.hero h1 { max-width: 16ch; }
.hero-sub { max-width: min(480px, 100%); margin-top: 28px; font-size: 17px; line-height: 1.65; color: var(--fg-mute); font-weight: 400; }

.hero-stats {
  display: flex; gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-n {
  font-size: 28px; font-weight: 700; letter-spacing: -0.025em;
  font-family: var(--font-mono);
  color: var(--fg);
}
.hero-stat-l {
  font-size: 11px; color: var(--fg-dim); margin-top: 4px;
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.1em;
}

/* Hero stats row (inline dividers) */
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-stat-item {
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.hero-stat-item:first-child { padding-left: 0; }
.hero-stat-item:last-child { border-right: none; }

/* Hero visual area */
.hero-visual {
  position: relative;
}

/* Mock dashboard wrapper */
.dash-wrap {
  position: relative;
}
.dash {
  background: #0e0e0e;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 48px 96px -24px rgba(0,0,0,0.9),
    0 0 80px -30px rgba(255,107,53,0.18);
  overflow: hidden;
}
.dash-bar {
  height: 36px;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.dash-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.08); }
.dash-tabs {
  display: flex; gap: 0; padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
}
.dash-tab {
  padding: 8px 14px;
  font-size: 12px;
  color: var(--fg-mute);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-weight: 500;
  cursor: pointer;
}
.dash-tab.is-active {
  color: var(--fg);
  border-bottom-color: var(--accent);
}
.dash-body { padding: 20px; }

/* Order line + progress */
.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.order-row + .order-row { margin-top: 8px; }
.progress {
  height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
  margin-top: 12px;
}
.progress > div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(255,107,53,0.4);
}

/* Floating callout cards */
.float-card {
  position: absolute;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  box-shadow:
    0 20px 48px -16px rgba(0,0,0,0.8);
  z-index: 2;
  backdrop-filter: blur(12px);
}

/* ── Vouches marquee ── */
.vouches {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.vouche {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--fg-mute);
  padding: 0 28px;
}
.vouche-sep { color: var(--border-strong); opacity: 0.5; }

/* Vouch card */
.vouch-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin: 0 8px;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  flex-shrink: 0;
  white-space: nowrap;
  transition: border-color 0.2s ease;
}
.vouch-card:hover {
  border-color: rgba(255,107,53,0.4);
}
.vouch-track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

/* ── Catalogue ── */
.cat-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 48px;
}
.cat-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center;
}
.cat-tab {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  transition: all 0.2s cubic-bezier(0.2,0,0,1);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cat-tab svg { opacity: 0.65; transition: opacity 0.2s; flex-shrink: 0; }
.cat-tab:hover {
  color: var(--fg);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
.cat-tab:hover svg { opacity: 1; }
.cat-tab.is-active {
  background: linear-gradient(135deg, rgba(255,107,53,0.18) 0%, rgba(255,107,53,0.08) 100%);
  color: var(--accent);
  border-color: rgba(255,107,53,0.55);
  box-shadow: 0 0 28px rgba(255,107,53,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  font-weight: 600;
  transform: translateY(-1px);
}
.cat-tab.is-active svg { opacity: 1; color: var(--accent); }
.cat-tab.is-active .tag {
  background: rgba(255,107,53,0.2);
  color: var(--accent);
  box-shadow: none;
  border: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--bg-elev);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 0;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,107,53,0.5);
  box-shadow: 0 0 40px rgba(255,107,53,0.08);
}
.product-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-sm);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.product-row { display: flex; align-items: center; justify-content: space-between; }
.product-add {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ── Zig-zag rows ── */
.zig {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center;
  padding: 48px 0;
}
.zig.flip > div:first-child { order: 2; }
.zig-section { }
.zig-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .zig {
    grid-template-columns: 1fr; gap: 0;
    padding: 0; margin-bottom: 12px;
    border-radius: var(--r-lg);
    background: var(--bg-elev);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .zig.flip > div:first-child { order: unset; }
  .zig-visual { aspect-ratio: 3 / 1; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--border); }
  .zig > div:last-child { padding: 20px; }
  .zig .eyebrow { margin-bottom: 6px; }
  .zig .display-3 { font-size: 18px !important; margin-top: 6px !important; max-width: 100% !important; }
  .zig .body-lg { font-size: 13px !important; margin-top: 8px !important; max-width: 100% !important; line-height: 1.5; }
}

/* ── About / Manifesto ── */
.about {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: 80px;
  position: relative;
}
.tl-item {
  position: relative; padding-top: 28px;
  animation: tl-fade-up 0.55s ease both;
}
.tl-item:nth-child(1) { animation-delay: 0.05s; }
.tl-item:nth-child(2) { animation-delay: 0.18s; }
.tl-item:nth-child(3) { animation-delay: 0.31s; }
.tl-item:nth-child(4) { animation-delay: 0.44s; }
.tl-item:nth-child(5) { animation-delay: 0.57s; }
@keyframes tl-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tl-line {
  position: absolute; top: 6px; left: 0; right: 0; height: 1px;
  background: var(--border-strong);
  transform-origin: left center;
  animation: tl-line-grow 0.5s ease 0.1s both;
}
@keyframes tl-line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.tl-line-accent { background: var(--accent); }
@media (max-width: 768px) {
  .timeline {
    display: flex !important; flex-direction: row;
    grid-template-columns: unset !important;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; gap: 0;
    margin-top: 40px; padding: 0 32px 24px;
    mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
  }
  .timeline::-webkit-scrollbar { display: none; }
  .tl-item { flex: 0 0 160px; min-width: 140px; scroll-snap-align: start; position: relative; padding-top: 28px; padding-bottom: 0; padding-left: 0; padding-right: 20px; animation: tl-fade-up 0.55s ease both; }
  .tl-item::before { display: none !important; }
  .tl-line { display: block !important; }
  .tl-dot { position: absolute; left: 0; top: 0; transform: none; }
}
.tl-dot {
  position: absolute; top: 0; left: 0;
  width: 13px; height: 13px; border-radius: 999px;
  background: var(--fg-dim);
  box-shadow: 0 0 0 4px var(--bg);
}
.tl-dot-accent {
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 16px rgba(255,107,53,0.4);
}

/* ── How It Works ── */
.hiw-desktop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.hiw-desktop-sticky { position: sticky; top: 88px; }
.hiw-desktop .hiw-frame { min-height: 400px; height: auto; }
.hiw-desktop-left { }
.hiw-mobile-only { display: none !important; }
.hiw-mobile-list { display: none; }
@media (max-width: 768px) {
  .hiw-desktop { display: none !important; }
  .hiw-mobile-only { display: flex !important; }
  /* New HIW 2-col collapses to single col */
  [style*="gridTemplateColumns: '1fr 420px'"] { grid-template-columns: 1fr !important; }
  .hiw-mobile-list { display: block !important; }
}

/* HIW accordion */
.hiw-accordion { max-width: 780px; display: flex; flex-direction: column; gap: 0; }
.hiw-acc-item {
  border-radius: var(--r-md);
  background: transparent;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}
.hiw-acc-item.is-open {
  background: var(--bg-elev);
  border-color: rgba(255,107,53,0.4);
  box-shadow: 0 8px 32px -12px rgba(255,107,53,0.1);
}
.hiw-acc-header {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; width: 100%; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--font-sans); color: var(--fg);
  transition: background 0.15s;
}
.hiw-acc-header:hover { background: rgba(255,255,255,0.02); }
.hiw-acc-item.is-open .hiw-acc-header { padding-bottom: 14px; }
.hiw-acc-title { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: left; }
.hiw-acc-body {
  padding: 0 20px 20px;
  animation: acc-open 0.25s ease;
}
@keyframes acc-open {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hiw-acc-visual {
  aspect-ratio: 16 / 7;
  border-radius: var(--r-md);
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  margin-bottom: 14px;
}
.hiw-acc-desc { font-size: 14px; color: var(--fg-mute); line-height: 1.65; margin: 0; }

/* Legacy hiw compat */
.hiw { display: block; }
.hiw-left { display: flex; flex-direction: column; }
.hiw-sticky { position: static; display: flex; flex-direction: column; }
.hiw-frame {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.5);
  padding: 12px;
  min-height: 420px;
  height: var(--hiw-steps-h, 520px);
  display: flex; align-items: stretch;
  overflow: hidden; position: relative; flex: 1;
}
.hiw-progress {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 16px;
}
.hiw-progress span {
  height: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  transition: background 0.3s;
}
.hiw-progress span.is-active { background: var(--accent); box-shadow: 0 0 8px rgba(255,107,53,0.4); }
.hiw-step {
  padding: 22px;
  border-radius: var(--r-md);
  display: flex; gap: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s;
  cursor: pointer; text-align: left; width: 100%;
  appearance: none; font-family: inherit; color: inherit;
}
.hiw-step:hover { border-color: var(--border-strong); transform: translateX(2px); }
.hiw-slot { width: 100%; }
.hiw-slot > .hiw-step { width: 100%; }
.hiw-step.is-active {
  background: rgba(255,107,53,0.06);
  border-color: rgba(255,107,53,0.4);
}
.hiw-num {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 700; font-size: 13px;
  color: var(--fg-mute);
  flex: 0 0 auto;
}
.hiw-step.is-active .hiw-num {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px -4px rgba(255,107,53,0.4);
}

/* ── Reviews ── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}
.review {
  padding: 24px;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  height: 100%; box-sizing: border-box;
}
.review:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.4);
  box-shadow: 0 0 32px rgba(255,107,53,0.06);
}
.review-head { display: flex; align-items: center; justify-content: space-between; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-meta { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); }
.verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--success);
  font-family: var(--font-mono);
}
.verified::before { content: "✓"; font-size: 10px; }

/* ── FAQ ── */
.faq-grid { gap: 10px; align-items: start; }
.faq-item {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
  cursor: pointer;
}
.faq-item.is-open {
  border-color: rgba(255,107,53,0.4);
  background: rgba(255,107,53,0.03);
}
.faq-q {
  width: 100%;
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-sans);
  color: var(--fg);
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px;
  font-size: 15px; font-weight: 600;
  text-align: left; gap: 16px;
  letter-spacing: -0.005em;
}
.faq-chevron { color: var(--accent); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item.is-open .faq-chevron { transform: rotate(180deg); }
.faq-icon {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: var(--accent); font-size: 18px;
  transition: transform 0.2s; flex: 0 0 auto;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 22px;
  font-size: 14px; line-height: 1.7;
  color: var(--fg-mute);
}
/* Legacy .faq class support */
.faq {
  background: var(--bg-elev);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
  align-self: start;
}
.faq.is-open { border-color: var(--border-strong); }

/* ── Footer ── */
.footer {
  padding: 96px 0 40px;
  border-top: 1px solid var(--border);
  position: relative;
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
}
.footer-logo { margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; }
.footer-col-h {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.footer-link {
  font-size: 14px; color: var(--fg-mute);
  text-decoration: none;
  transition: color 0.15s;
  display: block;
  padding: 5px 0;
}
.footer-link:hover { color: var(--fg); }
.footer-pay {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  color: var(--fg-mute); letter-spacing: 0.06em;
}
.footer-bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--fg-dim);
  flex-wrap: wrap; gap: 12px;
}

/* ── Pay chips ── */
.pay-chip {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.2) inset, 0 1px 2px rgba(0,0,0,0.25);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: -0.01em;
  overflow: hidden;
  flex: 0 0 auto;
}

/* Payment chips section */
.payment-section {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.payment-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}
.payment-chip-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-mute);
  transition: border-color 0.2s, color 0.2s;
}
.payment-chip-lg:hover {
  border-color: rgba(255,107,53,0.4);
  color: var(--fg);
}

/* ── Legal pages ── */
.legal-wrap { max-width: 880px; margin: 0 auto; padding: 80px 32px 120px; }
.legal-doc-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.legal-doc-nav.top { margin-bottom: 56px; border-top: none; padding-top: 0; }
.legal-doc-nav.bottom { margin-top: 80px; }
.legal-doc-nav .arrow-btn {
  appearance: none; background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 13px;
  color: var(--fg-mute); text-decoration: none;
  transition: color 0.15s, background 0.15s;
  max-width: 40%; text-align: left;
}
.legal-doc-nav .arrow-btn:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.legal-doc-nav .arrow-btn .mono { font-size: 10px; color: var(--fg-dim); display: block; letter-spacing: 0.14em; text-transform: uppercase; }
.legal-doc-nav .arrow-btn .name { font-weight: 600; color: var(--fg); }
.legal-doc-nav .arrow-btn[disabled] { opacity: 0.3; pointer-events: none; }
.legal h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-top: 56px; margin-bottom: 14px; line-height: 1.3; }
.legal h3 { font-size: 16px; font-weight: 600; margin-top: 28px; margin-bottom: 10px; }
.legal p { color: var(--fg-mute); font-size: 15px; line-height: 1.7; margin: 12px 0; }
.legal ul { color: var(--fg-mute); font-size: 15px; line-height: 1.7; padding-left: 22px; margin: 12px 0; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal-meta { display: flex; gap: 24px; margin-top: 16px; }
.legal-meta > div .mono { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 4px; }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 32px 0 0; }

/* ── Dashboard ── */
.dash-page { padding-top: calc(100px + var(--banner-h, 0px)) !important; padding-bottom: 96px !important; }
.dash-page-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }

/* Sidebar */
.dash-side {
  position: sticky; top: 80px;
  align-self: start;
  display: flex; flex-direction: column; gap: 0;
  border-radius: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.dash-side-user {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,107,53,0.07) 0%, transparent 60%);
  display: flex; align-items: center; gap: 12px;
}
.dash-side .item {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 0; width: 100%;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--fg-mute); text-align: left;
  transition: color 0.15s, background 0.15s;
  border-left: 2px solid transparent;
}
.dash-side .item:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
.dash-side .item.is-active {
  background: rgba(255,107,53,0.08);
  color: var(--accent);
  border-left-color: var(--accent);
}
.dash-side .item svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-side .group-label {
  padding: 16px 16px 5px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--fg-dim); text-transform: uppercase;
}
.dash-side-divider { height: 1px; background: var(--border); margin: 6px 0; }

/* Cards */
.dash-card {
  background: var(--bg-elev);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.025) inset;
}

/* KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  padding: 18px 20px;
  background: var(--bg-elev);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.025) inset;
  transition: border-color 0.15s;
}
.kpi:hover { border-color: var(--border-strong); }
.kpi-l {
  font-family: var(--font-mono); font-size: 9px;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.14em;
}
.kpi-n { font-size: 26px; font-weight: 800; margin-top: 8px; letter-spacing: -0.03em; }
.kpi-trend { font-size: 11px; color: var(--success); font-family: var(--font-mono); margin-top: 6px; }
.order-card {
  display: grid; grid-template-columns: 96px 1fr auto;
  gap: 18px; align-items: center;
  padding: 18px;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.order-card:hover { border-color: rgba(255,107,53,0.4); }
.order-thumb {
  aspect-ratio: 16/10; width: 96px; border-radius: 8px;
  background: var(--bg-elev-2);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
}

/* ── Login ── */
.login-shell {
  min-height: calc(100vh - 65px);
  display: grid; place-items: center;
  padding: 64px 24px;
}
.login-card {
  width: 100%; max-width: 420px;
  padding: 40px;
  background: var(--bg-elev);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
}
.glow-spot {
  position: absolute; border-radius: 999px;
  pointer-events: none; filter: blur(80px); opacity: 0.5;
}

/* ── Blog ── */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  overflow: hidden; transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.4);
}
.post-card-lg { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.post-card-lg .post-thumb-lg { aspect-ratio: 4/3; }
.post-card-lg .post-body { padding: 40px; }
.post-thumb {
  position: relative; overflow: hidden;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--border);
}
.post-thumb-md { aspect-ratio: 16/10; }
.post-thumb-lg { width: 100%; }
.post-thumb-xl { position: absolute; inset: 0; }
.post-card-lg .post-thumb-lg { border-bottom: 0; border-right: 1px solid var(--border); }
.post-cat {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg);
  background: rgba(10,10,10,0.8);
  padding: 5px 10px; border-radius: var(--r-sm);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
}
.post-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-wrap { max-width: 980px; padding: 56px 32px 120px; }
.post-wrap .legal h2 { margin-top: 40px; }
.post-wrap .legal p { font-size: 16px; }

/* Blog-specific */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 28px; }
.blog-card {
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,53,0.4);
}
.blog-card-cover {
  height: 160px;
  background: var(--bg-elev-2);
  display: grid; place-items: center;
  font-size: 56px;
  border-bottom: 1px solid var(--border);
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.blog-cat-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.blog-cat-news   { background: rgba(255,107,53,0.12); color: var(--accent); }
.blog-cat-guide  { background: rgba(34,197,94,0.10); color: var(--success); }
.blog-post-title { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--fg); }
.blog-excerpt    { font-size: 13px; color: var(--fg-mute); line-height: 1.6; flex: 1; }
.blog-meta       { font-size: 11px; color: var(--fg-dim); font-family: var(--font-mono); }
.blog-nav { background: rgba(10,10,10,0.9); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.blog-hero { padding: 80px 0 56px; text-align: center; }
.blog-post-content { max-width: 720px; margin: 0 auto; line-height: 1.8; color: var(--fg-mute); }
.blog-post-content h2 { font-size: 22px; font-weight: 700; color: var(--fg); margin: 32px 0 12px; }
.blog-post-content h3 { font-size: 18px; font-weight: 600; color: var(--fg); margin: 24px 0 8px; }
.blog-post-content p  { margin: 0 0 16px; }
.blog-post-content ul { padding-left: 20px; margin-bottom: 16px; }
.blog-post-content li { margin-bottom: 6px; }
.blog-post-content strong { color: var(--fg); font-weight: 600; }
.blog-tab-bar { display: flex; gap: 6px; padding: 24px 0 0; }
.blog-tab {
  appearance: none; border: 0; cursor: pointer; font-family: var(--font-sans);
  padding: 8px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  transition: all 0.15s; background: transparent; color: var(--fg-mute);
  box-shadow: 0 0 0 1px var(--border) inset;
}
.blog-tab.is-active { background: var(--fg); color: #0a0a0a; box-shadow: none; }

/* ── Utilities ── */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.row { display: flex; flex-direction: row; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 40px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ── LED / Status animations ── */
@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.18; }
}
@keyframes led-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.72); }
}
.led-blink   { animation: led-blink 0.75s ease-in-out infinite; }
.led-breathe { animation: led-breathe 2s ease-in-out infinite; }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; white-space: nowrap;
}
.status-badge .led-dot { width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; }

/* ── Admin layout ── */
.admin-layout { display: flex; gap: 24px; }
.admin-side {
  width: 200px; flex-shrink: 0;
  background: var(--bg-elev);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 12px; display: flex; flex-direction: column; gap: 2px;
  position: sticky; top: 80px; align-self: start;
}
.admin-item {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  color: var(--fg-mute); text-align: left;
  transition: color 0.15s, background 0.15s; width: 100%;
}
.admin-item:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.admin-item.is-active { background: rgba(255,107,53,0.10); color: var(--accent); box-shadow: 0 0 0 1px var(--border-accent) inset; }
.admin-badge {
  margin-left: auto; padding: 1px 7px; border-radius: var(--r-pill);
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; font-family: var(--font-mono);
}

/* Supplier header */
.supplier-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 32px; flex-wrap: wrap;
}
.supplier-header-title { font-size: clamp(20px,4vw,28px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.supplier-header-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.supplier-header-kpis  { display: flex; gap: 12px; flex-shrink: 0; }


/* Reseller */
.reseller-dash-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px; margin-bottom: 24px; flex-wrap: wrap;
}
.reseller-kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.reseller-kpis .kpi { min-width: 100px; }

/* Admin page header */
.admin-page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}
.admin-page-title { font-size: clamp(20px, 4vw, 28px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.admin-page-sub { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* Volume preset buttons */
.vol-btn {
  appearance: none; border: 0; cursor: pointer; font-family: var(--font-sans);
  flex: 1; padding: 14px 10px; border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all 0.15s; background: var(--bg-elev-2);
  box-shadow: 0 0 0 1px var(--border) inset; color: var(--fg-mute);
}
.vol-btn.is-active {
  background: rgba(255,107,53,0.10); color: var(--accent);
  box-shadow: 0 0 0 1px var(--border-accent) inset;
}

/* Rules list */
.rule-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.rule-input {
  flex: 1; background: transparent; border: 0; outline: none;
  color: var(--fg); font-family: var(--font-sans); font-size: 13px;
  line-height: 1.5; resize: none; padding: 0;
}

/* Form inputs */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: var(--border-accent) !important;
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1) !important;
}
input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }

/* Supplier empty */
.supplier-empty {
  padding: 64px 32px; text-align: center;
  background: var(--bg-elev); border-radius: var(--r-lg);
  border: 1px solid var(--border);
}

/* ── Product modal ── */
.product-modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px;
}
.product-modal {
  width: 100%; max-width: 940px;
  max-height: 90vh;
  background: var(--bg-elev);
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 120px -20px rgba(0,0,0,0.9);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px); cursor: pointer;
  color: #fff; font-size: 14px; display: grid; place-items: center;
  transition: background 0.15s; z-index: 20;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-body {
  display: grid; grid-template-columns: 1fr 300px;
  flex: 1; overflow: hidden;
}
.modal-left { overflow-y: auto; padding: 28px 28px 40px; border-right: 1px solid var(--border); }
.modal-right { overflow-y: auto; padding: 24px 20px 32px; background: rgba(0,0,0,0.2); }
.modal-section {
  padding: 20px; border-radius: 12px;
  background: var(--bg-elev-2); border: 1px solid var(--border);
  margin-bottom: 16px;
}
.modal-section:last-child { margin-bottom: 0; }

@keyframes liquid-flow {
  0%   { transform: translateY(-100%); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
.liquid-flow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255,107,53,0) 0%,
    rgba(255,107,53,0.9) 40%,
    rgba(255,107,53,1) 55%,
    rgba(255,107,53,0.9) 70%,
    rgba(255,107,53,0) 100%
  );
  animation: liquid-flow 2.2s ease-in-out infinite;
  border-radius: 2px;
  filter: blur(0.5px);
  box-shadow: 0 0 6px rgba(255,107,53,0.6);
}
@media (max-width: 640px) {
  .modal-body { grid-template-columns: 1fr; overflow: visible; }
  .modal-left { border-right: none !important; border-bottom: 1px solid var(--border); padding: 20px 16px 24px !important; }
  .modal-right { padding: 20px 16px 28px !important; }
}
.modal-left { display: flex; flex-direction: column; }
.modal-right { display: flex; flex-direction: column; }

/* Qty buttons */
.qty-btn {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06); border: 0; cursor: pointer;
  color: var(--fg); font-size: 18px; display: grid; place-items: center;
  transition: background 0.15s;
}
.qty-btn:hover { background: rgba(255,255,255,0.12); }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Discount input */
.discount-row { display: flex; gap: 8px; }
.discount-input {
  flex: 1; padding: 11px 14px;
  background: var(--bg-elev-2); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm); outline: none; color: var(--fg);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  transition: border-color 0.15s;
}
.discount-input:focus { border-color: var(--border-accent); box-shadow: 0 0 0 3px rgba(255,107,53,0.1); }
.discount-input::placeholder { color: var(--fg-faint); }

/* ── Trust badges ── */
.trust-badges {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-badge {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 20px 14px; border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  text-align: center;
}
.trust-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 24px;
}

/* Trust badge animations */
@keyframes trust-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes trust-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,107,53,0.18) inset; }
  50% { box-shadow: 0 0 0 1px rgba(255,107,53,0.5) inset, 0 0 18px rgba(255,107,53,0.15); }
}
@keyframes trust-flash {
  0%, 90%, 100% { color: #facc15; }
  45% { color: var(--accent); }
}
.trust-badge-money .trust-icon  { background: rgba(34,197,94,0.10); color: var(--success); animation: trust-pulse 3s ease-in-out infinite; }
.trust-badge-secure .trust-icon { background: rgba(255,107,53,0.10); color: var(--accent);  animation: trust-glow  3s ease-in-out infinite; }
.trust-badge-fast .trust-icon   { background: rgba(250,204,21,0.10); color: #facc15;       animation: trust-flash 2.5s ease-in-out infinite; }

/* Similar products in modal */
.similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.similar-card {
  padding: 14px; border-radius: var(--r-md); cursor: pointer;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
}
.similar-card:hover { border-color: rgba(255,107,53,0.4); }

/* HIW animated state */
@keyframes state-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hiw-state { animation: state-fade-in 0.4s ease forwards; }

/* Payment method mini-grid */
.pay-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pay-method-btn {
  padding: 10px 12px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.15s; font-family: var(--font-sans);
}
.pay-method-btn.is-active { background: rgba(255,107,53,0.10); border-color: rgba(255,107,53,0.4); }

/* ── Loyalty rank badge animations ── */
@keyframes rank-glow-silver { 0%, 100% { box-shadow: 0 0 0 1px rgba(148,163,184,0.25) inset; } 50% { box-shadow: 0 0 0 1px rgba(148,163,184,0.7) inset, 0 0 14px rgba(148,163,184,0.18); } }
@keyframes rank-glow-gold   { 0%, 100% { box-shadow: 0 0 0 1px rgba(245,158,11,0.35) inset; }  50% { box-shadow: 0 0 0 1.5px rgba(245,158,11,0.9) inset, 0 0 22px rgba(245,158,11,0.3); } }
@keyframes rank-glow-vip    { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,107,53,0.35) inset; }   50% { box-shadow: 0 0 0 1.5px rgba(255,107,53,0.9) inset, 0 0 22px rgba(255,107,53,0.32); } }
@keyframes rank-glow-elite  { 0%, 100% { box-shadow: 0 0 0 1px rgba(139,92,246,0.4) inset; }   50% { box-shadow: 0 0 0 2px rgba(139,92,246,1) inset, 0 0 28px rgba(139,92,246,0.38); } }
@keyframes rank-shimmer-lifetime { 0% { background-position: -300% center; } 100% { background-position: 300% center; } }
@keyframes rank-pulse-lifetime {
  0%, 100% { box-shadow: 0 0 0 1px rgba(234,179,8,0.5) inset, 0 0 24px rgba(234,179,8,0.25); }
  50%       { box-shadow: 0 0 0 2px rgba(234,179,8,1) inset, 0 0 48px rgba(234,179,8,0.5); }
}
@keyframes rank-gold-shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes rank-vip-ember {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,107,53,0.5) inset, 0 0 16px rgba(255,107,53,0.2); }
  50% { box-shadow: 0 0 0 2px rgba(255,107,53,0.9) inset, 0 0 32px rgba(255,107,53,0.4); }
}
@keyframes rank-elite-nebula {
  0%, 100% { box-shadow: 0 0 0 1px rgba(139,92,246,0.4) inset, 0 0 20px rgba(139,92,246,0.15); filter: brightness(1); }
  33% { box-shadow: 0 0 0 2px rgba(139,92,246,0.9) inset, 0 0 40px rgba(139,92,246,0.35); filter: brightness(1.08); }
  66% { box-shadow: 0 0 0 1px rgba(168,85,247,0.6) inset, 0 0 28px rgba(168,85,247,0.25); }
}
@keyframes rank-lifetime-gold {
  0%, 100% { box-shadow: 0 0 0 1px rgba(234,179,8,0.6) inset, 0 0 24px rgba(234,179,8,0.25); filter: brightness(1); }
  50% { box-shadow: 0 0 0 2px rgba(250,204,21,1) inset, 0 0 52px rgba(250,204,21,0.5); filter: brightness(1.12); }
}

.loyalty-badge { transition: box-shadow 0.3s; }
.loyalty-badge-member  { box-shadow: 0 0 0 1px rgba(107,114,128,0.2) inset; }
.loyalty-badge-silver  { animation: rank-glow-silver 3s ease-in-out infinite; }
.loyalty-badge-gold {
  background: linear-gradient(90deg, rgba(245,158,11,0.2), rgba(251,191,36,0.3), rgba(245,158,11,0.2)) !important;
  background-size: 200% 100% !important;
  animation: rank-gold-shimmer 2.5s linear infinite, rank-glow-gold 2.8s ease-in-out infinite;
}
.loyalty-badge-vip     { animation: rank-vip-ember 2.4s ease-in-out infinite; }
.loyalty-badge-elite   { animation: rank-elite-nebula 3s ease-in-out infinite; }
.loyalty-badge-lifetime {
  background: linear-gradient(90deg, rgba(234,179,8,0.22), rgba(250,204,21,0.4), rgba(234,179,8,0.22)) !important;
  background-size: 300% 100% !important;
  animation: rank-shimmer-lifetime 2.5s linear infinite, rank-lifetime-gold 2s ease-in-out infinite;
}

/* Loyalty progress */
.loyalty-progress-track {
  height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.06); overflow: hidden;
}
.loyalty-progress-fill {
  height: 100%; border-radius: 999px;
  transition: width 0.6s cubic-bezier(0.34,1.56,0.64,1);
}

/* Rewards grid */
.rewards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.reward-card {
  padding: 18px; border-radius: var(--r-lg); cursor: pointer;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  transition: border-color 0.15s;
  display: flex; flex-direction: column; gap: 10px;
}
.reward-card:hover { border-color: rgba(255,107,53,0.4); }
.reward-card.is-locked { opacity: 0.5; cursor: not-allowed; }
.reward-card.is-locked:hover { border-color: var(--border); }

/* Dashboard welcome banner */
.dash-banner {
  position: relative; overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.dash-banner::before {
  content: ''; position: absolute; top: -80px; left: -60px;
  width: 360px; height: 280px;
  background: radial-gradient(circle, rgba(255,107,53,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.dash-banner::after {
  content: ''; position: absolute; bottom: -40px; right: 60px;
  width: 200px; height: 160px;
  background: radial-gradient(circle, rgba(255,107,53,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.dash-banner-left { display: flex; align-items: center; gap: 18px; position: relative; }
.dash-banner-ctas { display: flex; gap: 8px; flex-shrink: 0; position: relative; }

/* Reviews responsive */
.reviews-desktop { display: block; }
.reviews-mobile  { display: none; }

/* Final CTA */
.final-cta {
  position: relative; padding: 96px 0;
  background: var(--bg);
  border-top: 1px solid var(--border); overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 48px; }

/* ── Modal overlay — centered on desktop, bottom sheet on mobile ── */
.modal-overlay-sheet {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: 24px;
}
.modal-sheet-card {
  width: 100%; max-width: 440px; border-radius: 20px;
  background: var(--bg-elev); border: 1px solid var(--border-strong); overflow: hidden;
}
@media (max-width: 768px) {
  .modal-overlay-sheet {
    display: flex; align-items: flex-end; padding: 0;
  }
  .modal-sheet-card {
    width: 100%; max-width: 100%; border-radius: 20px 20px 0 0;
    max-height: 85vh; overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom, 16px);
    animation: slideUp 0.25s cubic-bezier(0.32,0.72,0,1);
  }
  @keyframes slideUp {
    from { transform: translateY(100%); opacity: 0.8; }
    to   { transform: translateY(0);    opacity: 1; }
  }
}

/* Mobile bottom tab bar */
.dash-mobile-nav { display: none; }
@media (max-width: 768px) {
  .dash-mobile-nav {
    display: flex;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 210;
    background: rgba(10,10,10,0.97); border-top: 1px solid var(--border);
    padding: 6px 0 max(10px, env(safe-area-inset-bottom, 10px));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .dash-mobile-tab {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 4px; border: 0; background: transparent; cursor: pointer;
    color: var(--fg-dim); font-family: var(--font-sans); font-size: 9px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase; position: relative;
    transition: color 0.15s;
  }
  .dash-mobile-tab.is-active { color: var(--accent); }
  .dash-mobile-tab.is-active svg { stroke: var(--accent); }
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */

/* ── TABLET ≤ 1024px ── */
@media (max-width: 1024px) {
  .container, .container-wide { padding: 0 24px; }
  .hero { padding: 72px 0 80px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .dash-wrap { display: none; }
  .hero h1 { font-size: clamp(38px, 6vw, 60px); max-width: 100%; }
  .hero-sub { max-width: 560px; }
  .hero-stats { gap: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .review-grid  { grid-template-columns: repeat(2, 1fr); }
  .faq-grid     { grid-template-columns: 1fr !important; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kpi-grid     { grid-template-columns: repeat(2, 1fr); }
  .post-grid    { grid-template-columns: repeat(2, 1fr); }
  .similar-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .hiw { grid-template-columns: 1fr; gap: 20px; }
  .hiw-frame { display: none; }
  .hiw-sticky { position: static; }
  .hiw-left { flex-direction: column; }
  .dash-page-grid { grid-template-columns: 200px 1fr; gap: 16px; }
}

/* ── MOBILE ≤ 768px ── */
@media (max-width: 768px) {
  .container, .container-wide { padding: 0 16px; }
  .section { padding: 72px 0; }

  .nav { height: 60px; }
  .nav-links { display: none !important; }
  .nav-desktop-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .nav-mobile-open .nav-links {
    display: flex !important; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 199;
    padding: 16px; gap: 2px; overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-open .nav-links .nav-link { padding: 16px; font-size: 16px; border-radius: var(--r-md); display: block; color: var(--fg-mute); }
  .nav-mobile-open .nav-links .nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.04); }
  .nav-mobile-open .nav-links .nav-mobile-extras { display: flex !important; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

  .hero { padding: 52px 0 64px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); max-width: 100%; line-height: 1.1; }
  .hero-sub { max-width: 100%; font-size: 16px; margin-top: 16px; }
  .hero .hero-btns { flex-direction: column; gap: 10px; margin-top: 24px; }
  .hero .hero-btns .btn-ghost { display: none; }
  .hero .hero-btns .btn-primary { width: 100%; justify-content: center; }
  .hero .hero-social { display: none; }
  .hero-stats { display: none; }
  .hero-stats-row { display: none; }
  .dash-wrap { display: none; }

  .cat-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 6px; gap: 6px; margin-bottom: 20px; scrollbar-width: none; }
  .cat-tabs::-webkit-scrollbar { display: none; }
  .cat-tab { flex-shrink: 0; padding: 6px 12px; font-size: 12px; gap: 5px; }
  .cat-tab svg { width: 12px; height: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { padding: 0; gap: 0; }

  .hiw { grid-template-columns: 1fr; gap: 16px; }
  .hiw-left { flex-direction: column; }
  .hiw-sticky { position: static; }
  .hiw-frame { display: block; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; margin-bottom: 4px; }
  .hiw-step { padding: 12px 14px; }
  .hiw-step .body { display: none; }
  .hiw-step.is-active .body { display: block; font-size: 13px; margin-top: 4px; color: var(--fg-mute); }
  .hiw-num { font-size: 14px !important; }
  .hiw-step .title-2 { font-size: 14px; }

  .reviews-desktop { display: none; }
  .reviews-mobile  { display: block; overflow: hidden; }
  .review-marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent); }
  .review-marquee-track { display: flex; gap: 14px; width: max-content; animation: review-scroll 32s linear infinite; }
  .review-marquee-track:hover { animation-play-state: paused; }
  @keyframes review-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .reviews-mobile .review { width: 76vw; flex-shrink: 0; height: auto; }
  .review .body { font-size: 14px !important; }
  .reviews-header { flex-direction: column; align-items: flex-start !important; gap: 12px; margin-bottom: 28px !important; }
  .reviews-rating { align-items: flex-start !important; text-align: left !important; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kpi { padding: 14px 16px; }
  .kpi-n { font-size: 22px; }

  .dash-page { padding-top: calc(80px + var(--banner-h, 0px)) !important; padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important; }
  .dash-page-grid { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-card { padding: 16px; }
  .dash-banner { padding: 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .dash-banner-ctas { width: 100%; }
  .dash-banner-ctas .btn { flex: 1; justify-content: center; }
  .order-card { grid-template-columns: 1fr auto; gap: 12px; padding: 14px; }
  .order-thumb { display: none; }
  .rewards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .reward-card { padding: 12px; }

  .admin-layout { flex-direction: column !important; gap: 12px !important; align-items: stretch !important; }
  .admin-layout > main { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  .admin-side {
    width: 100% !important; position: static !important;
    flex-direction: row !important; overflow-x: auto !important;
    gap: 4px !important; padding: 6px !important; flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch; border-radius: 12px !important;
  }
  .admin-side > div:first-child { display: none !important; }
  .admin-side > div:last-child { border: 0 !important; padding: 0 !important; margin: 0 !important; display: flex !important; flex-direction: row !important; }
  .admin-item { flex-shrink: 0 !important; padding: 8px 14px !important; white-space: nowrap !important; width: auto !important; font-size: 13px !important; }
  .admin-layout > main > * { min-width: 0; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-card [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-card [style*="grid-template-columns: repeat(3"] { grid-template-columns: repeat(2, 1fr) !important; }
  .dash-card [style*="minmax(220px"] { grid-template-columns: 1fr !important; }
  .dash-card [style*="gridTemplateColumns: '1fr 1fr 1fr"] { grid-template-columns: 1fr !important; }
  .dash-card [style*="gridTemplateColumns: '1fr 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }

  .product-modal-overlay { align-items: flex-end !important; padding: 0 !important; }
  .product-modal { border-radius: 20px 20px 0 0 !important; max-height: 92vh !important; max-width: 100% !important; width: 100% !important; }
  .modal-body { grid-template-columns: 1fr !important; overflow-y: auto !important; flex: 1; }
  .modal-left { overflow-y: visible !important; }
  .modal-right { overflow-y: visible !important; }
  .trust-badges { grid-template-columns: 1fr 1fr; }
  .similar-grid { grid-template-columns: repeat(2, 1fr); }

  .post-grid { grid-template-columns: 1fr; }
  .blog-tab-bar { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .blog-tab { flex-shrink: 0; }
  .legal-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .cat-tab { flex-shrink: 0; }
  .hiw-left { flex-direction: column; }
  .about-grid, .story-grid { grid-template-columns: 1fr !important; }

  .supplier-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
  .supplier-header-title { font-size: 22px; }
  .supplier-header-kpis { width: 100%; }
  .supplier-header-kpis .kpi { flex: 1; }

  .reseller-dash-header { flex-direction: column; gap: 16px; }
  .reseller-kpis { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .reseller-kpis .kpi { min-width: unset; }

  .reseller-nav-user-detail { display: none; }
  .reseller-page-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
  .reseller-page-header .kpi-grid { width: 100%; }

  .dash-header { align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .dash-header-eyebrow { display: none; }
  .dash-header-title { font-size: 22px; }
  .dash-header-subtitle { display: none; }
  .dash-cta-secondary { display: none; }
  .dash-header-ctas .btn { height: 38px; font-size: 13px; padding: 0 16px; }

  .admin-page-header { margin-bottom: 16px; }
  .admin-page-title { font-size: 20px; }

  .blog-admin-grid-2 { grid-template-columns: 1fr !important; }
  .container[style*="maxWidth: 900"] { padding-left: 16px !important; padding-right: 16px !important; }

  .portal-card, .portal-card-blue, .portal-card-green, .portal-card-yellow, .portal-card-red { padding: 18px !important; }
  .portal-btn-primary, .portal-btn-ghost { height: 46px !important; font-size: 14px !important; }

  .trust-badges { gap: 8px; }
  .legal-doc-nav { flex-wrap: wrap; gap: 10px; }
  .legal-doc-nav .arrow-btn .name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .dash-card .row.between.items-start { flex-wrap: wrap; gap: 8px; }
  .dash-card input[type="text"], .dash-card input[type="password"], .dash-card input[type="email"], .dash-card input[type="number"], .dash-card select { max-width: 100%; box-sizing: border-box; }
  .col.gap-md [style*="display: flex"][style*="gap: 6"] { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
}

/* ── SMALL ≤ 640px ── */
@media (max-width: 640px) {
  .reseller-nav-detail { display: none; }
}

/* ── Section colour & readability enhancements ── */

/* VouchesMarquee strip gets a subtle warm tint */
.vouches {
  background: linear-gradient(180deg, transparent 0%, rgba(255,107,53,0.04) 50%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Catalogue section — slight elevated bg to lift it off the hero */
#products {
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 60%);
}

/* Reviews section — warm tint + gradient border top */
#reviews {
  border-top: 1px solid transparent;
  background-image:
    linear-gradient(rgba(255,107,53,0.03) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
}

/* Story/About section — slight warm glow from left */
#story {
  background: radial-gradient(ellipse 600px 400px at 0% 50%, rgba(255,107,53,0.05) 0%, transparent 70%);
}

/* HOW IT WORKS section */
#how {
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 50%);
  border-top: 1px solid var(--border);
}

/* Inline section badge pills (the ones hardcoded in JSX) — global style boost */
.display-2, .display-3 {
  color: #fff;
  text-shadow: 0 0 60px rgba(255,255,255,0.05);
}

/* Product cards — slightly more visible */
.product-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.product-card:hover {
  border-color: rgba(255,107,53,0.5);
  box-shadow: 0 0 40px rgba(255,107,53,0.1), 0 1px 0 rgba(255,255,255,0.06) inset;
  transform: translateY(-2px);
}

/* Review cards — more contrast */
.review {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset;
}
.review:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* Eyebrow — slightly brighter */
.eyebrow { color: var(--accent); opacity: 1; }

/* Body text — brighter across the board */
.body-lg { color: var(--fg-mute); }
.body    { color: var(--fg-mute); }
.body-sm { color: rgba(255,255,255,0.60); }

/* HIW step panel — more visible border + bg */
.hiw-step {
  border-color: var(--border);
  background: var(--bg-elev);
}
.hiw-step.is-active {
  background: linear-gradient(135deg, rgba(255,107,53,0.08) 0%, rgba(255,107,53,0.03) 100%);
  border-color: rgba(255,107,53,0.4);
  box-shadow: 0 0 0 1px rgba(255,107,53,0.2) inset;
}

/* HIW frame (the visual preview panel) */
.hiw-frame {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
}

/* FAQ items */
.faq-item {
  border-color: var(--border);
  background: var(--bg-elev);
}
.faq-item.is-open {
  border-color: rgba(255,107,53,0.35);
  background: linear-gradient(135deg, rgba(255,107,53,0.06) 0%, rgba(255,107,53,0.02) 100%);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 40%);
}

/* Cat tabs — mobile: scrollable row, not hidden */

/* Gradient separator line between major sections */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-strong) 30%, rgba(255,107,53,0.3) 50%, var(--border-strong) 70%, transparent 100%);
  border: none;
  margin: 0;
}

/* ── First section on all pages: clear the fixed nav ── */
@media (max-width: 768px) {
  .section:first-child, .section:first-of-type { padding-top: calc(80px + var(--banner-h, 0px)) !important; }
  .section-lg:first-child, .section-lg:first-of-type { padding-top: calc(80px + var(--banner-h, 0px)) !important; }
}

/* ── SMALL PHONE ≤ 480px ── */
@media (max-width: 480px) {
  .container, .container-wide { padding: 0 14px; }
  .hero h1 { font-size: 24px; line-height: 1.15; }
  .display-1 { font-size: 28px; }
  .display-2 { font-size: 24px; }
  .display-3 { font-size: 20px; }
  .title-1 { font-size: 16px; }
  .kpi-n { font-size: 20px; }
  .review { min-width: 88vw; max-width: 88vw; }
  .rewards-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  [style*="maxWidth: 380"], [style*="maxWidth: 400"] { padding: 24px 20px !important; }
  [style*="padding: '56px 24px 96px'"] { padding: 32px 16px 80px !important; }
  /* Category tabs even smaller on phones */
  .cat-tab { padding: 5px 10px; font-size: 11px; gap: 4px; }
  .cat-tab svg { width: 11px; height: 11px; }
  /* Product grid — single column on small phones */
  .product-grid { grid-template-columns: 1fr !important; }
  /* Section overflow guard — on sections not body to avoid breaking fixed positioning */
  .section, .section-lg, .container, .container-wide { overflow-x: clip; }
}

.marquee-wrap { max-width: 100vw; }

/* ── Reseller float animation ── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.reseller-float { animation: float 4s ease-in-out infinite; }

/* ── Why Us feature grid ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ── Story 2-col grid ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ── Loyalty benefit grid ── */
.loyalty-benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 640px) { .loyalty-benefits { grid-template-columns: 1fr; } }

/* Loyalty 2-col grid → single col on mobile */
@media (max-width: 768px) {
  [style*="gridTemplateColumns: '1fr 360px'"] { grid-template-columns: 1fr !important; }
}

/* ── HIW step visual fade-in ── */
@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Review card effects ── */
.review-fx {
  animation: reviewEntrance 0.5s ease both;
}
@keyframes reviewEntrance {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Star shimmer on hover */
@keyframes starShimmer {
  0%,100% { filter: brightness(1) drop-shadow(0 0 2px rgba(255,107,53,0)); }
  50%      { filter: brightness(1.4) drop-shadow(0 0 6px rgba(255,107,53,0.8)); }
}
.review-stars-shimmer { animation: starShimmer 0.6s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bannerShimmer { 0%,100% { transform: translateX(-120%); } 50% { transform: translateX(120%); } }

/* Product modal — HTML description */
.product-desc-html { font-size: 14px; color: var(--fg-mute); line-height: 1.75; }
.product-desc-html p  { margin: 0 0 12px; }
.product-desc-html p:last-child { margin-bottom: 0; }
.product-desc-html ul, .product-desc-html ol { margin: 0 0 12px; padding-left: 18px; }
.product-desc-html li { margin-bottom: 5px; }
.product-desc-html strong, .product-desc-html b { color: var(--fg); font-weight: 600; }
.product-desc-html a { color: var(--accent); text-decoration: underline; }
.product-desc-html h1, .product-desc-html h2, .product-desc-html h3 { color: var(--fg); font-weight: 700; margin: 0 0 8px; }

/* ═══════════════════════════════════════
   HOME PAGE — PHONE POLISH
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero nav-height offset correction */
  .hero { margin-top: 60px !important; padding: 36px 0 44px !important; min-height: auto !important; }
  /* Section-lg tighter on mobile */
  .section-lg { padding: 56px 0 !important; }
  /* About section */
  .about { padding: 56px 0 !important; }
}
@media (max-width: 480px) {
  .hero { padding: 28px 0 36px !important; }
}
