:root {
  --ink: #050508;
  --ink-2: #0c0c14;
  --ink-3: #141422;
  --line: rgba(220, 228, 255, 0.1);
  --line-strong: rgba(220, 228, 255, 0.18);
  --foam: #eef2ff;
  --mist: #9aa3c7;
  --coral: #00d2ff;
  --coral-deep: #00b4e0;
  --coral-soft: rgba(0, 210, 255, 0.14);
  --violet: #7b61ff;
  --violet-soft: rgba(123, 97, 255, 0.18);
  --ink-on-accent: #050510;
  --brand-grad: linear-gradient(165deg, #00d2ff 0%, #4f8cff 48%, #7b61ff 100%);
  --ok: #3dcf8e;
  --warn: #e6b84d;
  --danger: #ff5c5c;
  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Figtree", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1180px;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--foam);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 65% 50% at 0% 0%, rgba(0, 210, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 100% 8%, rgba(123, 97, 255, 0.18), transparent 52%),
    linear-gradient(165deg, #050508 0%, #0a0a14 48%, #07070f 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a {
  color: var(--coral);
  text-decoration: none;
}

a:hover {
  color: #66e4ff;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 8, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--foam);
}

.brand:hover {
  color: var(--foam);
}

.brand-logo {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: screen;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mist);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--foam);
  background: rgba(232, 240, 245, 0.06);
}

.nav-link.active {
  color: var(--foam);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--ink-on-accent) !important;
  font-weight: 700;
  margin-left: 0.35rem;
}

.nav-cta:hover {
  background: var(--coral-deep) !important;
  color: var(--ink-on-accent) !important;
}

.nav-cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 4px;
  background: var(--coral);
  color: var(--ink-on-accent);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.mobile-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--foam);
  transition: 0.25s ease;
}

.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 20px; }
.mobile-toggle span:nth-child(3) { top: 26px; }

.mobile-toggle.open span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 8, 0.96);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
}

.mobile-nav .nav-cta {
  justify-content: center;
  margin-left: 0;
  margin-top: 0.35rem;
}

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

.main-pad {
  padding: 2.5rem 0 4rem;
}

.main-pad > .section,
.main-pad > article {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  color: inherit;
  background: transparent;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--coral);
  color: var(--ink-on-accent);
}

.btn-primary:hover {
  background: var(--coral-deep);
  color: var(--ink-on-accent);
}

.btn-secondary,
.btn-ghost {
  background: transparent;
  color: var(--foam);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn-secondary:hover,
.btn-ghost:hover {
  color: var(--foam);
  box-shadow: inset 0 0 0 1px var(--foam);
}

.btn-lg {
  padding: 0.95rem 1.45rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
}

.btn-text {
  background: none;
  border: none;
  color: var(--mist);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-text:hover {
  color: var(--coral);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Toasts */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 0.85rem);
  right: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
  width: min(360px, calc(100vw - 2rem));
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(12, 12, 20, 0.96), rgba(12, 12, 20, 0.96)) padding-box,
    linear-gradient(135deg, rgba(0, 210, 255, 0.55), rgba(123, 97, 255, 0.55)) border-box;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 210, 255, 0.08);
  backdrop-filter: blur(12px);
  font-size: 0.92rem;
  line-height: 1.4;
  transform: translateX(110%);
  opacity: 0;
  animation: toast-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.toast.is-leaving {
  animation: toast-out 0.32s ease forwards;
}

.toast-message {
  flex: 1;
  margin: 0;
  color: var(--foam);
}

.toast-dismiss {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin: -0.15rem -0.25rem 0 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--mist);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.toast-dismiss:hover {
  color: var(--foam);
  background: rgba(220, 228, 255, 0.08);
}

.toast-success .toast-message {
  color: #9aebc4;
}

.toast-error .toast-message {
  color: #ffb4b4;
}

.toast-info .toast-message {
  color: var(--mist);
}

/* Hero — Lonex-style centered */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(78vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 0 5rem;
  text-align: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  will-change: transform, opacity;
}

.hero-orb-a {
  width: min(52vw, 480px);
  height: min(52vw, 480px);
  top: -12%;
  left: 50%;
  transform: translateX(-58%);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.28), transparent 68%);
  animation: orb-drift-a 14s ease-in-out infinite;
}

.hero-orb-b {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  top: 8%;
  right: 4%;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.3), transparent 70%);
  animation: orb-drift-b 17s ease-in-out infinite;
}

.hero-orb-c {
  width: min(38vw, 340px);
  height: min(38vw, 340px);
  bottom: -8%;
  left: 12%;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.18), transparent 70%);
  animation: orb-drift-c 12s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(220, 228, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220, 228, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, black 10%, transparent 72%);
  animation: grid-pulse 8s ease-in-out infinite;
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.55rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  color: var(--foam);
  max-width: 14ch;
}

.hero-title .hero-anim {
  display: block;
}

.hero-accent {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

.lede {
  margin: 0 0 2rem;
  color: var(--mist);
  max-width: 40ch;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero .cta-row {
  justify-content: center;
  gap: 0.85rem;
}

.hero .btn-lg {
  min-width: 10.5rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero .btn-primary {
  box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.35);
  animation: cta-glow 3.2s ease-in-out infinite;
  animation-delay: 1.1s;
}

.hero .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 210, 255, 0.28);
}

.hero .btn-ghost:hover {
  transform: translateY(-2px);
}

/* Proof strip — Lonex-style centered stats */
.proof {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 20, 0.55);
}

.proof-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 2.35rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1rem;
  text-align: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--mist);
  transition-delay: calc(var(--d, 0) * 70ms);
}

.proof-item strong {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--foam);
}

.proof-item span {
  font-size: 0.88rem;
  color: var(--mist);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.section-head.row-between,
.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.65rem;
}

.section-head h1,
.section-head h2,
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0 0 0.65rem;
}

.section-head p,
.section-subtitle {
  margin: 0;
  color: var(--mist);
  font-size: 1.05rem;
}

.section-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

/* Pillars — numbered list, not icon cards */
.pillars {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.pillar-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--coral);
  letter-spacing: -0.03em;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.pillar p {
  margin: 0;
  color: var(--mist);
  font-size: 0.95rem;
}

/* Product shelf — editorial rows, not Lonex cards */
.shelf {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.shelf-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 12, 20, 0.65);
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.shelf-item:hover {
  color: inherit;
  border-color: var(--line-strong);
  background: var(--ink-3);
  transform: translateY(-2px);
}

.shelf-media {
  width: 140px;
  height: 100px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 210, 255, 0.18), rgba(123, 97, 255, 0.12)),
    var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
}

.shelf-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shelf-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.shelf-body p {
  margin: 0;
  color: var(--mist);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shelf-meta {
  text-align: right;
  display: grid;
  gap: 0.55rem;
  justify-items: end;
}

.shelf-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.shelf-price.is-free {
  color: var(--coral);
}

/* Store page — Lonex-style layout, Odigital styling */
.page-hero {
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--line);
}

.hero-crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--mist);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.hero-crumbs a {
  color: var(--mist);
}

.hero-crumbs a:hover {
  color: var(--coral);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.page-subtitle {
  margin: 0;
  font-size: 1.05rem;
  color: var(--mist);
  max-width: 36rem;
}

.store-section {
  padding: 2.25rem 0 5rem;
}

.store-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.25rem;
  align-items: start;
}

.store-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: grid;
  gap: 1rem;
}

.filter-card {
  background: rgba(12, 12, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 18, 24, 0.45);
}

.filter-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foam);
}

.filter-clear {
  border: none;
  background: none;
  color: var(--coral);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.filter-clear:hover {
  text-decoration: underline;
}

.filter-options {
  padding: 0.45rem;
  display: grid;
  gap: 0.15rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--mist);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.filter-option:hover {
  background: rgba(232, 240, 245, 0.05);
  color: var(--foam);
}

.filter-option.active {
  background: var(--coral-soft);
  color: var(--coral);
}

.filter-label {
  flex: 1;
}

.filter-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mist);
  background: var(--ink);
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  min-width: 1.5rem;
  text-align: center;
}

.filter-option.active .filter-count {
  background: var(--coral);
  color: var(--ink-on-accent);
}

.filter-search {
  padding: 0.85rem;
}

.filter-search .input {
  font-size: 0.9rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.results-count {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mist);
}

.results-count strong {
  color: var(--foam);
  font-weight: 700;
}

.sort-select {
  padding: 0.55rem 2rem 0.55rem 0.85rem;
  background-color: rgba(12, 12, 20, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--foam);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239db0bf' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.sort-select:focus {
  outline: none;
  border-color: var(--coral);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(12, 12, 20, 0.72);
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.store-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.store-card[hidden] {
  display: none !important;
}

.store-card-image {
  position: relative;
  height: 170px;
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mist);
  overflow: hidden;
}

.store-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.55rem;
  background: var(--coral);
  color: var(--ink-on-accent);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

.store-card-body {
  padding: 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.store-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.45rem;
}

.store-card-desc {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--mist);
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.store-card-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.store-card-price.is-free {
  color: var(--coral);
  font-size: 1.05rem;
}

.store-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 12, 20, 0.55);
}

.store-empty h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.store-empty p {
  margin: 0 0 1.15rem;
  color: var(--mist);
}

.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;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--foam);
}

.product-price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.product-price-free,
.shelf-price.is-free {
  color: var(--coral);
}

.section-more {
  margin-top: 1.5rem;
}

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 2rem;
}

.empty {
  color: var(--mist);
}

.empty a {
  color: var(--coral);
}

.narrow {
  max-width: 640px;
}

/* Legacy list surfaces */
.product-list,
.cart-list,
.purchase-list,
.admin-list {
  list-style: none;
  border-top: 1px solid var(--line);
}

.cart-row,
.purchase-row,
.admin-list li,
.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.product-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  color: inherit;
  padding: 1rem 0;
}

.product-link:hover {
  color: inherit;
}

.product-meta {
  display: grid;
  gap: 0.2rem;
}

.product-snip {
  color: var(--mist);
  font-size: 0.92rem;
}

.product-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--ink-2);
}

.product-thumb.placeholder,
.media-placeholder {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--ink-3), var(--ink-2));
}

.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.cart-row-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.total {
  font-size: 1.15rem;
}

.muted {
  color: var(--mist);
  font-size: 0.92rem;
}

/* Product detail */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-detail-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-2);
}

.product-detail-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.product-detail-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--coral);
  margin: 0 0 0.5rem;
}

.price-lg {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--coral);
  margin: 0.35rem 0 1rem;
}

.body {
  color: var(--mist);
  white-space: pre-wrap;
  margin-bottom: 1.5rem;
}

.success-panel {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 0;
}

.status {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.status-paid { color: var(--ok); }
.status-pending { color: var(--warn); }
.status-failed { color: var(--danger); }

.subhead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

/* Forms */
.stack-form {
  display: grid;
  gap: 1rem;
}

.stack-form label {
  display: grid;
  gap: 0.35rem;
}

.input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--ink-2);
  color: var(--foam);
  font: inherit;
}

.input:focus {
  outline: none;
  border-color: var(--coral);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.checkbox {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
}

.hint,
.field-error {
  font-size: 0.85rem;
}

.field-error {
  color: var(--danger);
}

/* Soft close band */
.close-band {
  padding: 3.5rem 0 5rem;
}

.close-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
}

.close-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}

.close-inner p {
  margin: 0;
  color: var(--mist);
  max-width: 36ch;
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
}

.footer-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  color: var(--mist);
  font-size: 0.92rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--foam);
  letter-spacing: -0.03em;
}

.brand-mark-logo {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  mix-blend-mode: screen;
}

.footer-links {
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
}

.footer-link {
  color: var(--mist);
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--coral);
}

@media (max-width: 560px) {
  .footer-inner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    min-height: 0;
  }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, 14px); }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orb-drift-a {
  0%, 100% { transform: translateX(-58%) translateY(0); opacity: 0.85; }
  50% { transform: translateX(-48%) translateY(28px); opacity: 1; }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0); opacity: 0.8; }
  50% { transform: translate(-24px, 36px); opacity: 1; }
}

@keyframes orb-drift-c {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  50% { transform: translate(30px, -18px); opacity: 1; }
}

@keyframes grid-pulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 0.42; }
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.15); }
  50% { box-shadow: 0 0 28px 2px rgba(0, 210, 255, 0.28); }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(110%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(110%);
  }
}

@media (max-width: 1100px) {
  .store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .section-split,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .proof-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }

  .hero-title {
    max-width: 12ch;
  }

  .shelf-item {
    grid-template-columns: 100px 1fr;
  }

  .shelf-meta {
    grid-column: 2;
    text-align: left;
    justify-items: start;
    grid-auto-flow: column;
    align-items: center;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
    display: grid;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 3.25rem 0 2.75rem;
  }

  .proof-inner {
    gap: 1.25rem 0.75rem;
  }

  .store-sidebar {
    grid-template-columns: 1fr;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .store-grid {
    grid-template-columns: 1fr;
  }
}
