:root {
  --ink: #111827;
  --muted: #64748b;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --line: #dbe3ed;
  --dark: #07111f;
  --dark-2: #0c1b2d;
  --teal: #12b6a0;
  --coral: #f2725b;
  --gold: #d7a944;
  --green: #5aa869;
  --violet: #8b6bd6;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(18, 182, 160, 0.12), transparent 25rem),
    radial-gradient(circle at 86% 8%, rgba(242, 114, 91, 0.1), transparent 21rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #eef4f7 100%);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.trail {
  position: absolute;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(18, 182, 160, 0.18);
  border-radius: 999px;
  animation: slow-spin 28s linear infinite;
}

.trail::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 28px rgba(242, 114, 91, 0.8);
  top: 5%;
  left: 50%;
}

.trail-a {
  top: 9rem;
  right: -18rem;
}

.trail-b {
  width: 28rem;
  height: 28rem;
  left: -14rem;
  bottom: 8rem;
  border-color: rgba(215, 169, 68, 0.18);
  animation-duration: 35s;
  animation-direction: reverse;
}

.trail-c {
  width: 22rem;
  height: 22rem;
  right: 12%;
  bottom: -9rem;
  border-color: rgba(139, 107, 214, 0.2);
  animation-duration: 22s;
}

.pulse-dot {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  animation: float-dot 6s ease-in-out infinite;
  box-shadow: 0 0 22px rgba(18, 182, 160, 0.7);
}

.dot-a {
  left: 8%;
  top: 18%;
}

.dot-b {
  left: 33%;
  top: 70%;
  background: var(--gold);
  animation-delay: -1.8s;
}

.dot-c {
  right: 17%;
  top: 31%;
  background: var(--coral);
  animation-delay: -3s;
}

.dot-d {
  right: 7%;
  bottom: 22%;
  background: var(--green);
  animation-delay: -4.5s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(8rem, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(219, 227, 237, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--dark), var(--teal));
  border-radius: 7px;
  font-size: 0.78rem;
  box-shadow: 0 14px 30px rgba(18, 182, 160, 0.22);
}

.nav-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #eef4f7;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-link {
  border: 0;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  color: #475569;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 750;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-link.is-active {
  color: var(--ink);
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.cart-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.82rem 1.12rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cart-button {
  justify-self: end;
  border: 1px solid var(--dark);
  color: white;
  background: var(--dark);
}

.cart-button span {
  display: grid;
  min-width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 999px;
  color: var(--dark);
  background: var(--gold);
  font-size: 0.78rem;
}

.primary-action {
  border: 1px solid var(--dark);
  color: white;
  background: linear-gradient(135deg, var(--dark), #123b48 58%, var(--teal));
  box-shadow: 0 14px 34px rgba(18, 182, 160, 0.25);
}

.secondary-action {
  border: 1px solid rgba(17, 24, 39, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}

.cart-button:hover,
.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.view-panel {
  display: none !important;
}

.view-panel.is-visible {
  display: block !important;
}

.hero.view-panel.is-visible,
.feature-band.view-panel.is-visible {
  display: grid !important;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.4rem);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem) 2rem;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.98) 0%, rgba(248, 251, 255, 0.86) 44%, transparent 65%),
    linear-gradient(180deg, transparent 80%, #fff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(1rem, 5vw, 5rem);
  right: clamp(1rem, 5vw, 5rem);
  bottom: 0.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 182, 160, 0.55), transparent);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1,
.workspace-header h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(2.8rem, 5.3vw, 5.35rem);
  line-height: 0.96;
}

.hero p {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  color: #334155;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 38rem;
  margin-top: 2rem;
}

.backend-status {
  width: fit-content;
  max-width: 38rem;
  margin-top: 0.8rem;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: #475569;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
}

.backend-status.firebase {
  border-color: rgba(90, 168, 105, 0.35);
  color: #14532d;
  background: rgba(90, 168, 105, 0.16);
}

.backend-status.error {
  border-color: rgba(242, 114, 91, 0.35);
  color: #9f3524;
  background: rgba(242, 114, 91, 0.14);
}

.live-metrics div,
.review-stat {
  border: 1px solid rgba(219, 227, 237, 0.95);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.live-metrics strong,
.review-stat strong {
  display: block;
  color: var(--dark);
  font-size: 1.6rem;
}

.live-metrics span,
.review-stat span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  border-radius: 0;
  isolation: isolate;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(1.05) contrast(1.04);
  animation: image-drift 13s ease-in-out infinite alternate;
  clip-path: polygon(7% 0, 100% 0, 100% 95%, 0 100%, 0 10%);
  box-shadow: var(--shadow);
}

.orbit-card {
  position: absolute;
  z-index: 2;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: white;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 0.84rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
  animation: hover-float 4.5s ease-in-out infinite;
}

.orbit-one {
  top: 12%;
  right: 11%;
}

.orbit-two {
  left: 8%;
  bottom: 28%;
  animation-delay: -1.4s;
}

.orbit-three {
  right: 4%;
  bottom: 12%;
  animation-delay: -2.6s;
}

.category-marquee {
  overflow: hidden;
  padding: 1.2rem 0;
  background: var(--dark);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.7rem;
  animation: marquee 35s linear infinite;
}

.marquee-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.marquee-pill span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.market-shell,
.studio-shell,
.publisher-shell,
.review-shell,
.feature-band {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading,
.workspace-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.workspace-header {
  align-items: center;
}

.section-heading h2,
.feature-copy h2,
.cart-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.workspace-header p,
.feature-copy p,
.cart-header p {
  max-width: 42rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.catalog-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.search-field,
.select-field,
.submission-form label {
  display: grid;
  gap: 0.4rem;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
}

.search-field input,
.select-field select,
.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.86rem 0.92rem;
  color: var(--ink);
  background: white;
  outline: none;
}

.search-field input:focus,
.select-field select:focus,
.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 182, 160, 0.12);
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.category-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.62rem 0.86rem;
  color: #475569;
  background: white;
  font-size: 0.86rem;
  font-weight: 800;
}

.category-filter.is-active {
  border-color: var(--dark);
  color: white;
  background: var(--dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(219, 227, 237, 0.92);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 182, 160, 0.5);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.15);
}

.product-art {
  position: relative;
  min-height: 12.5rem;
  padding: 1rem;
  color: white;
  background: linear-gradient(135deg, var(--dark), var(--accent, var(--teal)));
  overflow: hidden;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  animation: hover-float 5s ease-in-out infinite;
}

.product-art::before {
  width: 8rem;
  height: 8rem;
  right: -2rem;
  top: -2rem;
}

.product-art::after {
  width: 4rem;
  height: 4rem;
  left: 1.1rem;
  bottom: 1rem;
  animation-delay: -2s;
}

.product-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.product-art-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.8rem;
}

.product-icon {
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.35rem;
  font-weight: 900;
}

.product-card-body {
  padding: 1.1rem;
}

.product-card h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.2;
}

.product-card p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  color: #475569;
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 800;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 1.1rem 1.1rem;
}

.price {
  font-size: 1.45rem;
  font-weight: 900;
}

.small-button {
  border: 1px solid var(--dark);
  border-radius: 999px;
  padding: 0.66rem 0.85rem;
  color: white;
  background: var(--dark);
  font-size: 0.84rem;
  font-weight: 850;
}

.ghost-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.66rem 0.85rem;
  color: var(--ink);
  background: white;
  font-size: 0.84rem;
  font-weight: 850;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  background: var(--dark);
  color: white;
}

.feature-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 25rem;
  object-fit: cover;
  animation: image-drift 12s ease-in-out infinite alternate;
}

.feature-copy h2,
.feature-copy p {
  color: white;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.motion-stack {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.motion-stack span {
  display: block;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--coral), var(--violet));
  transform-origin: left center;
  animation: bar-scan 2.4s ease-in-out infinite;
}

.motion-stack span:nth-child(2) {
  width: 82%;
  animation-delay: -0.4s;
}

.motion-stack span:nth-child(3) {
  width: 65%;
  animation-delay: -0.8s;
}

.motion-stack span:nth-child(4) {
  width: 45%;
  animation-delay: -1.2s;
}

.studio-shell,
.publisher-shell,
.review-shell {
  min-height: calc(100vh - 4.4rem);
}

.workspace-header h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.72fr);
  gap: 1rem;
  align-items: start;
}

.publisher-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.submission-form,
.process-panel,
.bulk-panel,
.agent-instructions,
.review-board-card,
.modal {
  border: 1px solid rgba(219, 227, 237, 0.94);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.submission-form {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.checklist {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.checklist legend {
  padding: 0 0.35rem;
  color: var(--ink);
  font-weight: 900;
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475569;
  font-size: 0.9rem;
}

.process-panel {
  overflow: hidden;
}

.bulk-panel,
.agent-instructions {
  padding: 1.2rem;
}

.bulk-panel h2,
.agent-instructions h2 {
  margin: 0;
  font-size: 1.3rem;
}

.bulk-panel p {
  margin: 0.55rem 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.bulk-panel textarea {
  width: 100%;
  min-height: 21rem;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  color: #d7e4f0;
  background: #07111f;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  line-height: 1.5;
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.agent-instructions {
  margin-top: 1rem;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.instruction-grid div {
  display: grid;
  gap: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: #f8fafc;
}

.instruction-grid strong {
  color: var(--dark);
}

.instruction-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.process-panel img {
  width: 100%;
  height: 23rem;
  object-fit: cover;
}

.process-steps {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}

.process-steps span {
  position: relative;
  display: block;
  padding: 0.78rem 0.9rem 0.78rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  font-weight: 850;
}

.process-steps span::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--teal);
  transform: translateY(-50%);
  box-shadow: 0 0 18px rgba(18, 182, 160, 0.7);
}

.compact {
  margin-top: 2rem;
}

.queue-list,
.review-board {
  display: grid;
  gap: 0.85rem;
}

.queue-item,
.review-board-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.queue-item h3,
.review-board-card h3 {
  margin: 0;
}

.queue-item p,
.review-board-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  color: var(--dark);
  background: #eef4f7;
  font-size: 0.76rem;
  font-weight: 900;
}

.status.pending {
  color: #8a5d10;
  background: rgba(215, 169, 68, 0.18);
}

.status.approved {
  color: #146c43;
  background: rgba(90, 168, 105, 0.18);
}

.status.rejected {
  color: #9f3524;
  background: rgba(242, 114, 91, 0.18);
}

.review-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.owner-auth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.owner-auth h2 {
  margin: 0;
  font-size: 1.15rem;
}

.owner-auth p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.owner-login {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.owner-login input {
  min-height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: white;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.decision-notes {
  margin-top: 0.8rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  color: #475569;
  background: #f8fafc;
  font-size: 0.88rem;
}

.modal {
  width: min(45rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.2rem;
}

.modal::backdrop {
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(8px);
}

.modal-close {
  float: right;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: white;
  font-size: 0.78rem;
  font-weight: 850;
}

.dialog-product-art {
  height: 18rem;
  margin: 2.5rem 0 1rem;
  border-radius: var(--radius);
}

.cart-items {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.cart-footer strong {
  font-size: 1.8rem;
}

.checkout-result {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  color: #14532d;
  background: rgba(90, 168, 105, 0.15);
}

.checkout-result.is-visible {
  display: block;
}

.checkout-result a {
  color: #14532d;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  color: white;
  background: var(--dark);
  box-shadow: 0 20px 48px rgba(7, 17, 31, 0.24);
  transform: translateY(1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float-dot {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(1rem, -1.4rem, 0) scale(1.45);
  }
}

@keyframes image-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(-0.6rem, 0.4rem, 0);
  }
}

@keyframes hover-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -0.7rem, 0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes bar-scan {
  0%,
  100% {
    transform: scaleX(0.68);
    opacity: 0.64;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-tabs {
    grid-column: 1 / -1;
    justify-content: center;
    order: 3;
  }

  .hero,
  .feature-band,
  .studio-layout,
  .publisher-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: 26rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .workspace-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-tools {
    justify-content: stretch;
    width: 100%;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.75rem;
  }

  .brand {
    font-size: 0.9rem;
  }

  .nav-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .nav-link {
    flex: 0 0 auto;
    padding: 0.62rem 0.78rem;
    font-size: 0.82rem;
  }

  .hero,
  .market-shell,
  .studio-shell,
  .publisher-shell,
  .review-shell,
  .feature-band {
    padding-inline: 1rem;
  }

  .hero h1,
  .workspace-header h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
    line-height: 1;
  }

  .hero-visual {
    min-height: 20rem;
  }

  .live-metrics,
  .review-dashboard,
  .product-grid,
  .form-row.two,
  .instruction-grid {
    grid-template-columns: 1fr;
  }

  .queue-item,
  .review-board-card,
  .cart-row,
  .owner-auth {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .review-actions {
    justify-content: flex-start;
  }

  .owner-login {
    justify-content: flex-start;
  }
}
