/* ── Design tokens ─────────────────────────────────────────────── */

:root {
  color-scheme: dark;

  --bg: #04060c;
  --bg-elevated: #080c14;
  --surface: rgba(16, 23, 42, 0.72);
  --surface-solid: #10172a;
  --surface-alt: rgba(21, 30, 53, 0.85);
  --surface-glass: rgba(12, 18, 32, 0.55);
  --text: #eef3ff;
  --muted: #8ba3cc;
  --accent: #00d4ff;
  --accent-dim: #0099cc;
  --accent-hover: #33ddff;
  --border: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 212, 255, 0.35);
  --success: #34d399;
  --gold: #fbbf24;
  --danger: #f87171;

  --mesh-1: rgba(0, 212, 255, 0.15);
  --mesh-2: rgba(0, 153, 204, 0.1);
  --mesh-3: rgba(251, 191, 36, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 60px rgba(0, 212, 255, 0.22);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-height: 68px;
  --container: 1140px;
  --container-narrow: 640px;
}

[data-theme='light'] {
  color-scheme: light;

  --bg: #f4f6fb;
  --bg-elevated: #eef2fa;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-alt: #e8edf8;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --text: #0d1424;
  --muted: #556080;
  --accent: #0088bb;
  --accent-dim: #006699;
  --accent-hover: #007799;
  --border: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(0, 136, 187, 0.25);
  --success: #16a34a;
  --gold: #d97706;

  --mesh-1: rgba(0, 136, 187, 0.12);
  --mesh-2: rgba(0, 102, 153, 0.08);
  --mesh-3: rgba(217, 119, 6, 0.06);

  --shadow-sm: 0 2px 12px rgba(13, 20, 36, 0.07);
  --shadow-md: 0 12px 36px rgba(13, 20, 36, 0.12);
  --shadow-glow: 0 0 80px rgba(0, 136, 187, 0.14);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ── Reset & base ──────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' 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)'/%3E%3C/svg%3E");
}

[data-theme='light'] body::before {
  opacity: 0.025;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.65rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.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;
}

/* ── Ambient background ────────────────────────────────────────── */

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-orb 18s ease-in-out infinite;
}

.ambient__orb--1 {
  width: 420px;
  height: 420px;
  top: -8%;
  left: -5%;
  background: var(--mesh-1);
}

.ambient__orb--2 {
  width: 360px;
  height: 360px;
  top: 40%;
  right: -8%;
  background: var(--mesh-2);
  animation-delay: -6s;
}

.ambient__orb--3 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  left: 30%;
  background: var(--mesh-3);
  animation-delay: -12s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 25px) scale(0.95);
  }
}

/* ── Scroll reveal ─────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ambient__orb,
  .thought-stream__track,
  .btn--pulse,
  .pulse-dot,
  .hero__mesh {
    animation: none !important;
  }
}

/* ── Layout ────────────────────────────────────────────────────── */

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section--how {
  background: linear-gradient(180deg, transparent 0%, var(--bg-elevated) 40%, transparent 100%);
}

.section--free {
  background:
    radial-gradient(ellipse 50% 40% at 10% 50%, var(--mesh-1), transparent 60%),
    var(--bg);
}

.section--marketplace {
  background: var(--bg-elevated);
}

.section--creators {
  background:
    radial-gradient(ellipse 40% 50% at 90% 20%, var(--mesh-2), transparent 55%),
    var(--bg);
}

.section--pricing {
  background: var(--bg-elevated);
}

.section--submit {
  padding-bottom: 6rem;
}

.section__header {
  margin-bottom: 2rem;
  max-width: 680px;
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

.section__lead {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.eyebrow--accent {
  color: var(--accent);
}

.eyebrow--live {
  color: var(--gold);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── Corner brackets (brand motif) ─────────────────────────────── */

.bracket {
  position: relative;
}

.bracket::before,
.bracket::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
}

.bracket::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.bracket::after {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.bracket > .bracket-b::before,
.bracket > .bracket-b::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
}

.bracket > .bracket-b::before {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.bracket > .bracket-b::after {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.bracket > .bracket-b {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* ── Manifesto band ────────────────────────────────────────────── */

.manifesto-band {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  background: var(--bg);
  border-block: 1px solid var(--border);
}

.manifesto-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.manifesto-line {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 0.25rem;
  text-transform: uppercase;
}

.manifesto-line--accent {
  color: var(--accent);
}

.manifesto-col--copy p {
  color: var(--muted);
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.manifesto-col--copy p:last-of-type {
  margin-bottom: 1.5rem;
}

.free-flash {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--muted);
}

.free-flash strong {
  color: var(--accent);
}

.reliability-visual {
  margin-top: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
}

.reliability-visual img {
  width: 100%;
  display: block;
}

/* ── Navigation ────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--nav-height);
  padding: 0 1.25rem;
  background: var(--surface-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-inset);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.site-nav__brand:hover {
  color: var(--text);
}

.site-nav__logo-img {
  width: auto;
  max-width: 160px;
  height: 36px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.site-nav__logo-img--wordmark {
  max-width: 180px;
  height: 32px;
}

.site-footer__brand .site-nav__logo-img--wordmark {
  max-width: 150px;
  height: 28px;
}

.site-nav__logo-img--light {
  display: none;
}

[data-theme='light'] .site-nav__logo-img--dark {
  display: none;
}

[data-theme='light'] .site-nav__logo-img--light {
  display: block;
}

.site-footer__brand span {
  display: none;
}

.site-nav__links {
  display: none;
  gap: 1.25rem;
  flex: 1;
}

.site-nav__links a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav__links a:hover {
  color: var(--text);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-left: auto;
}

@media (min-width: 900px) {
  .site-nav__links {
    display: flex;
  }
}

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 0 0;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 10%, var(--mesh-1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 30%, var(--mesh-2) 0%, transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 90%, var(--mesh-3) 0%, transparent 45%);
  animation: mesh-shift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes mesh-shift {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.04) translateY(-2%);
  }
}

.hero__layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-bottom: 4rem;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero__copy {
  text-align: center;
}

@media (min-width: 960px) {
  .hero__copy {
    text-align: left;
  }
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 560px;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted);
  margin-bottom: 1.75rem;
}

@media (min-width: 960px) {
  .hero__lead {
    margin-inline: 0;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

@media (min-width: 960px) {
  .hero__actions {
    justify-content: flex-start;
  }
}

.hero__footnote {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__frame {
  position: relative;
  width: min(100%, 520px);
  padding: 0.75rem;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  animation: float-frame 6s ease-in-out infinite;
}

@keyframes float-frame {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__shot {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid var(--border);
}

.hero__timer {
  position: absolute;
  bottom: -1rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4);
  text-align: center;
  color: #fff;
}

.hero__timer-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero__timer-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

/* Thought stream marquee */
.thought-stream {
  position: relative;
  width: 100%;
  padding: 1rem 0 2rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  overflow: hidden;
}

.thought-stream__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.thought-stream__track span {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── How it works ──────────────────────────────────────────────── */

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .how-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-card {
  padding: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
  box-shadow: var(--shadow-inset);
}

.how-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.how-card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  opacity: 0.9;
}

.how-card h3,
.how-card p {
  padding-inline: 1.25rem;
}

.how-card h3 {
  padding-top: 1rem;
  margin-bottom: 0.375rem;
}

.how-card p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── Free section ──────────────────────────────────────────────── */

.free-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .free-split {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.checklist {
  margin: 1.5rem 0 2rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.free-split__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  text-align: center;
}

.free-split__img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.free-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.free-stat__label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted);
}

.free-stat__tagline {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ── Marketplace (compact) ─────────────────────────────────────── */

.marketplace-shell {
  padding: 1.25rem;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-inset);
}

.marketplace-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 720px) {
  .marketplace-toolbar {
    flex-direction: row;
    align-items: center;
  }
}

.marketplace-search {
  flex: 1;
}

.marketplace-search input {
  width: 100%;
  padding: 0.625rem 1rem 0.625rem 2.5rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%238ba3cc' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0.875rem center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.marketplace-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.marketplace-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.marketplace-tabs__btn {
  padding: 0.4rem 0.875rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}

.marketplace-tabs__btn:hover {
  color: var(--text);
  border-color: var(--border-glow);
}

.marketplace-tabs__btn.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-color: transparent;
  color: #fff;
}

.marketplace-spotlight-wrap {
  margin-bottom: 0.75rem;
}

.marketplace-spotlight-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.marketplace-spotlight {
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}

.marketplace-spotlight:empty {
  display: none;
}

.marketplace-spotlight-wrap:has(.marketplace-spotlight:empty) {
  display: none;
}

.spotlight-chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 200px;
  max-width: 280px;
  padding: 0.5rem 0.75rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  scroll-snap-align: start;
  transition: border-color 0.15s, transform 0.15s;
}

.spotlight-chip:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.spotlight-chip__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.spotlight-chip__name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-chip__meta {
  font-size: 0.6875rem;
  color: var(--muted);
  margin: 0;
}

.marketplace-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.marketplace-list > .meta {
  text-align: center;
  padding: 2rem 1rem;
}

.listing-row {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.listing-row:hover {
  border-color: color-mix(in srgb, var(--accent) 30%, var(--border));
}

.listing-row.is-expanded {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-sm);
}

.listing-row__head {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.listing-row__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.listing-row__summary {
  min-width: 0;
}

.listing-row__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row__meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.listing-row__badges {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 640px) {
  .listing-row__badges {
    display: flex;
  }
}

.listing-row__chevron {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform 0.25s;
}

.listing-row.is-expanded .listing-row__chevron {
  transform: rotate(180deg);
}

.listing-row__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.listing-row.is-expanded .listing-row__detail {
  grid-template-rows: 1fr;
}

.listing-row__detail-inner {
  overflow: hidden;
}

.listing-row__detail-content {
  padding: 0 0.875rem 0.875rem 4.25rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.listing-row__desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.marketplace-count {
  margin: 0.75rem 0 0;
  text-align: right;
}

/* ── Creator grid ──────────────────────────────────────────────── */

.creators-layout__img {
  width: 100%;
  max-width: 480px;
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  opacity: 0.85;
}

.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.creator-card {
  padding: 1.25rem;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.creator-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-glow);
}

.creator-card__header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.creator-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.creator-card__name {
  font-size: 1.0625rem;
  margin-bottom: 0.125rem;
}

.creator-card__handle {
  font-size: 0.8125rem;
  color: var(--muted);
}

.creator-card__bio {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.creator-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.creator-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ── Pricing ───────────────────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-inset);
  transition: transform 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 12%, var(--surface-solid)), var(--surface-glass));
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

@media (min-width: 768px) {
  .pricing-card--featured {
    transform: scale(1.03);
    z-index: 1;
  }

  .pricing-card--featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

.pricing-card__img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  opacity: 0.75;
}

.pricing-card__badge {
  position: absolute;
  top: -0.625rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.pricing-card h3 {
  font-size: 1.125rem;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-card__tagline {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.pricing-card ul {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.pricing-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ── Community ─────────────────────────────────────────────────── */

.community-layout {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .community-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }
}

.community-layout__img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  opacity: 0.85;
}

.thread-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.thread-item {
  padding: 1rem 1.25rem;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.15s;
}

.thread-item:hover {
  border-color: var(--border-glow);
}

.thread-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.thread-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.panel-accordion {
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  overflow: hidden;
}

.panel-accordion__trigger {
  padding: 0.875rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}

.panel-accordion__trigger::-webkit-details-marker {
  display: none;
}

.panel-accordion[open] .panel-accordion__trigger {
  border-bottom: 1px solid var(--border);
}

.panel-accordion .form--panel {
  border: none;
  border-radius: 0;
  background: transparent;
}

.feedback-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Forms ─────────────────────────────────────────────────────── */

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form--panel {
  padding: 1.25rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
}

.form textarea {
  min-height: 88px;
  resize: vertical;
}

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent-dim) 70%, var(--accent)));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}

.btn--primary:hover {
  box-shadow: 0 6px 28px color-mix(in srgb, var(--accent) 45%, transparent);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--surface-alt);
  border-color: var(--border-glow);
  color: var(--text);
}

.btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
}

.btn--pulse {
  animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 35%, transparent);
  }
  50% {
    box-shadow: 0 4px 32px color-mix(in srgb, var(--accent) 55%, transparent);
  }
}

/* ── Badges ────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.badge--featured {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent);
}

.badge--breakout {
  background: color-mix(in srgb, var(--gold) 22%, transparent);
  color: var(--gold);
}

/* ── Theme toggle ──────────────────────────────────────────────── */

.theme-toggle__icon--light {
  display: none;
}

[data-theme='light'] .theme-toggle__icon--dark {
  display: none;
}

[data-theme='light'] .theme-toggle__icon--light {
  display: inline;
}

/* ── Toast ─────────────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  font-size: 0.875rem;
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Footer ────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.site-footer__tagline {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

.site-footer__links a {
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer__links a:hover {
  color: var(--text);
}

.site-footer__copy {
  margin: 0.5rem 0 0;
}

.creator-grid > .meta {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
}
