:root {
  --navy: #1a2a3a;
  --midnight: #0f1922;
  --gold: #c9a961;
  --gold-soft: #e2c888;
  --cream: #f8f6f3;
  --slate: #4a5568;
  --whisper: #e8e4df;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, system-ui, sans-serif;
  --space-unit: 0.25rem;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --focus-ring: 0 0 0 3px rgba(201, 169, 97, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  html {
    scroll-behavior: auto;
  }
}

body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  background: var(--midnight);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(201, 169, 97, 0.35);
  color: var(--cream);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--gold);
  color: var(--midnight);
  z-index: 1000;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 25, 34, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 228, 223, 0.08);
}

.header--tenant {
  border-bottom-color: rgba(201, 169, 97, 0.15);
  background: rgba(15, 25, 34, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
  flex-wrap: nowrap;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  color: var(--gold);
}

.logo--studio {
  font-size: 1.05rem;
  max-width: min(15rem, 50vw);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.nav a {
  color: var(--whisper);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.is-current {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.nav__cta.is-current {
  background: rgba(201, 169, 97, 0.12);
}

.nav__cta {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
}

.nav__hint {
  color: var(--slate);
  font-size: 0.85rem;
}

.nav__form {
  display: inline;
  margin: 0;
}

.nav__btn {
  background: transparent;
  border: none;
  color: var(--whisper);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav__btn:hover {
  color: var(--gold);
}

.nav-desktop {
  display: none;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: block;
  }

  .nav-drawer {
    display: none;
  }
}

.nav--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
}

.nav--stacked a,
.nav--stacked .nav__cta {
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
}

.nav--stacked a:hover,
.nav--stacked a:focus-visible {
  background: rgba(201, 169, 97, 0.08);
}

.nav-drawer {
  position: relative;
}

.nav-drawer__summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(232, 228, 223, 0.12);
  color: var(--whisper);
  font-size: 0.88rem;
  font-weight: 600;
  user-select: none;
}

.nav-drawer__summary::-webkit-details-marker {
  display: none;
}

.nav-drawer__summary:hover {
  border-color: rgba(201, 169, 97, 0.35);
  color: var(--gold);
}

.nav-drawer__hamburger {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--cream);
  box-shadow: 0 -5px 0 var(--cream), 0 5px 0 var(--cream);
  border-radius: 1px;
}

.nav-drawer__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: min(18rem, 92vw);
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(15, 25, 34, 0.98);
  border: 1px solid rgba(232, 228, 223, 0.12);
  box-shadow: var(--shadow-lg);
  z-index: 80;
}

.nav-drawer[open] .nav-drawer__summary {
  border-color: var(--gold);
  color: var(--gold);
}

.main {
  flex: 1;
}

.footer {
  border-top: 1px solid rgba(232, 228, 223, 0.08);
  padding: clamp(2rem, 5vw, 3rem) 0 1.5rem;
  margin-top: auto;
  background: var(--navy);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(232, 228, 223, 0.06);
}

.footer__brand {
  max-width: 36ch;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--cream);
}

.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--whisper);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.footer__nav a {
  color: var(--whisper);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__meta-row {
  padding-top: 1.25rem;
}

.footer__meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0;
  overflow: hidden;
}

.hero--home {
  min-height: 58vh;
  display: flex;
  align-items: center;
}

.hero--tenant {
  min-height: 42vh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

.hero--shop {
  min-height: 38vh;
}

.section--home-feature {
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-bottom: clamp(0.5rem, 2vw, 1rem);
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.section-heading-row .section-heading {
  margin-bottom: 0.35rem;
}

.section-heading-row__lead {
  margin: 0;
  max-width: 52ch;
}

.studio-strip {
  padding: clamp(1.5rem, 4vw, 2.25rem) 0;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.08), transparent 55%);
  border-top: 1px solid rgba(232, 228, 223, 0.06);
  border-bottom: 1px solid rgba(232, 228, 223, 0.06);
}

.studio-strip__inner {
  max-width: 65ch;
}

.studio-strip__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--whisper);
}

.cms-page-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  margin-bottom: 2rem;
}

.cms-page-card {
  border-radius: var(--radius);
  border: 1px solid rgba(232, 228, 223, 0.1);
  background: rgba(26, 42, 58, 0.45);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.cms-page-card:hover {
  border-color: rgba(201, 169, 97, 0.28);
  box-shadow: var(--shadow-md);
}

.cms-page-card__link {
  display: block;
  padding: 1.15rem 1.2rem;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.cms-page-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cms-page-card__cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.marketing-block--prose {
  margin-top: 1.75rem;
}

.marketing-block--prose:first-of-type {
  margin-top: 0.5rem;
}

.section-heading--tight {
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 34, 0.2) 0%,
    rgba(15, 25, 34, 0.85) 100%
  ),
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 169, 97, 0.15), transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--whisper);
  max-width: 55ch;
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, #c9a961, #e2c888);
  color: var(--midnight);
  box-shadow: 0 4px 14px rgba(201, 169, 97, 0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid rgba(248, 246, 243, 0.35);
  color: var(--cream);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.section--tight {
  padding-top: 2rem;
}

.section--flush-top {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  margin: 2.5rem 0 1rem;
}

.trust-strip {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: linear-gradient(180deg, rgba(26, 42, 58, 0.35) 0%, transparent 100%);
  border-top: 1px solid rgba(232, 228, 223, 0.06);
  border-bottom: 1px solid rgba(232, 228, 223, 0.06);
}

.trust-strip--compact {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0;
}

.trust-strip--compact .trust-strip__inner {
  gap: 1.25rem;
}

.trust-strip--compact .trust-strip__text a {
  color: var(--gold-soft);
}

.trust-strip__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);
}

.trust-strip__item {
  text-align: center;
  max-width: 32ch;
  margin-inline: auto;
}

.trust-strip__icon {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.trust-strip__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.trust-strip__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--whisper);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.prose {
  max-width: 65ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 0;
}

.prose a {
  color: var(--gold);
}

.prose--richtext h2,
.prose--richtext h3,
.prose--richtext h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  margin: 1.5rem 0 0.65rem;
  line-height: 1.25;
}

.prose--richtext h2:first-child,
.prose--richtext h3:first-child {
  margin-top: 0;
}

.prose--richtext p {
  margin: 0 0 1rem;
  color: var(--whisper);
  line-height: 1.65;
}

.prose--richtext ul,
.prose--richtext ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--whisper);
  line-height: 1.6;
}

.prose--richtext li {
  margin-bottom: 0.35rem;
}

.prose--richtext a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose--richtext blockquote {
  margin: 1.25rem 0;
  padding: 0.75rem 0 0.75rem 1rem;
  border-left: 3px solid var(--gold);
  color: var(--whisper);
  font-style: italic;
}

.prose--richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0.75rem 0;
}

.prose--richtext hr {
  border: none;
  border-top: 1px solid rgba(232, 228, 223, 0.12);
  margin: 1.75rem 0;
}

.shop-intro strong {
  font-weight: 600;
  color: var(--gold-soft);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--whisper);
  max-width: 55ch;
}

.lead a {
  color: var(--gold);
}

/* Breadcrumb */
.breadcrumb {
  margin: 0 0 1.25rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--slate);
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb__item:not(:last-child)::after {
  content: "/";
  color: rgba(74, 85, 104, 0.65);
  font-weight: 400;
  user-select: none;
}

.breadcrumb__link {
  color: var(--whisper);
  text-decoration: none;
}

.breadcrumb__link:hover {
  color: var(--gold);
}

.breadcrumb__current {
  color: var(--gold-soft);
  font-weight: 500;
}

.page-shell {
  max-width: 72rem;
}

.page-shell--narrow {
  max-width: 32rem;
}

.feature-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  margin: 2rem 0;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.sell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  margin-top: 1.25rem;
}

.feature-grid--sell {
  margin-top: 1.5rem;
}

.faq--sell {
  margin-top: 2rem;
}

.feature-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(26, 42, 58, 0.5);
  border: 1px solid rgba(232, 228, 223, 0.08);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  border-color: rgba(201, 169, 97, 0.22);
  box-shadow: var(--shadow-md);
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--cream);
}

.feature-card__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--whisper);
  line-height: 1.55;
}

.feature-card--linkish {
  display: flex;
  flex-direction: column;
}

.feature-card__cta {
  margin-top: auto;
  padding-top: 1rem;
}

.account-hub-grid {
  margin-top: 1.5rem;
}

@media (min-width: 1100px) {
  .account-hub-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.slug-preview {
  margin-bottom: 1.25rem;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-toc__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.legal-toc__link:hover {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block {
  margin-top: 2rem;
}

.callout-panel {
  margin-top: 2rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  background: rgba(26, 42, 58, 0.45);
}

.callout-panel__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--whisper);
  line-height: 1.55;
}

.callout-panel--tight {
  margin-top: 1rem;
}

.marketplace-creator-strip {
  margin-top: 1.25rem;
}

.marketplace-creator-strip a {
  font-weight: 600;
}

.callout-panel--muted {
  border-left-color: rgba(232, 228, 223, 0.25);
  background: rgba(26, 42, 58, 0.28);
}

.form--inline-actions {
  max-width: none;
  margin-top: 1rem;
}

.form--inline-actions .btn {
  margin-top: 0;
}

.seller-url-list {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--whisper);
  font-size: 0.92rem;
  line-height: 1.55;
}

.seller-url-list__label {
  display: inline-block;
  min-width: 6.5rem;
  color: var(--cream);
  font-weight: 600;
}

.seller-url-list a {
  color: var(--gold-soft);
  word-break: break-all;
}

.seller-url-list a:hover {
  color: var(--gold);
}

.help-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}

@media (min-width: 1100px) {
  .help-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.help-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(26, 42, 58, 0.45);
  border: 1px solid rgba(232, 228, 223, 0.08);
}

.help-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.help-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--whisper);
  line-height: 1.55;
}

.form--elevated {
  max-width: none;
  padding: 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: rgba(26, 42, 58, 0.5);
  border: 1px solid rgba(232, 228, 223, 0.1);
  margin-top: 1rem;
}

.form__actions {
  margin-top: 0.5rem;
}

.fine-print {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

.fine-print a {
  color: var(--gold);
}

.empty-state {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed rgba(232, 228, 223, 0.15);
  background: rgba(15, 25, 34, 0.35);
}

.empty-state__lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--whisper);
  margin: 0 0 0.5rem;
}

.empty-state--compact {
  margin-top: 1rem;
  padding: 1.5rem 1.25rem;
}

.seller-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1.25rem 0 1.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(26, 42, 58, 0.55);
  border: 1px solid rgba(232, 228, 223, 0.08);
  width: fit-content;
  max-width: 100%;
}

.seller-subnav__link {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--whisper);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.seller-subnav__link:hover {
  color: var(--gold);
}

.seller-subnav__link.is-current {
  background: rgba(201, 169, 97, 0.18);
  color: var(--cream);
}

.seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.5rem;
}

.seller-actions--spaced {
  margin-top: 0.75rem;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.table-actions__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.table-actions__link:hover {
  text-decoration: underline;
}

.table-actions__form {
  display: inline;
  margin: 0;
}

.table-actions__danger {
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: #feb2b2;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-actions__danger:hover {
  color: #fc8181;
}

.error-hero {
  text-align: center;
  padding: clamp(2rem, 6vw, 3.5rem) 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 228, 223, 0.1);
  background: rgba(26, 42, 58, 0.4);
}

.error-hero__code {
  font-family: var(--font-display);
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 0.75rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-hero .page-title {
  margin-bottom: 0.75rem;
}

.error-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.error-hero__path {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.error-hero__path-label {
  display: inline-block;
  margin-right: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.error-hero__aio {
  margin-top: 1.25rem;
  text-align: left;
}

.error-hero__aio p {
  margin: 0;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.grid--market {
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.marketplace-search {
  margin: 1.25rem 0 0;
}

.marketplace-search__label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 0.5rem;
}

.marketplace-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: center;
}

.marketplace-search__row--split {
  display: grid;
  gap: 0.75rem 1rem;
  align-items: end;
}

@media (min-width: 720px) {
  .marketplace-search__row--split {
    grid-template-columns: 2fr 1fr auto;
  }
}

.marketplace-search__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.marketplace-search__input {
  flex: 1 1 200px;
  min-width: 0;
}

.marketplace-empty {
  margin-top: 1.25rem;
}

.card__media--listing {
  --thumb-a: #2a3f54;
  --thumb-b: #1a2a3a;
  --thumb-c: #0f1922;
  --thumb-glow: rgba(201, 169, 97, 0.14);
  background: linear-gradient(155deg, var(--thumb-a) 0%, var(--thumb-b) 52%, var(--thumb-c) 100%);
}

.card__media--listing.card__media--tone0 {
  --thumb-a: #2d3f52;
  --thumb-b: #1b2838;
  --thumb-c: #0e1822;
}
.card__media--listing.card__media--tone1 {
  --thumb-a: #2a3548;
  --thumb-b: #1a2434;
  --thumb-c: #0f1520;
}
.card__media--listing.card__media--tone2 {
  --thumb-a: #263a4a;
  --thumb-b: #162a38;
  --thumb-c: #0f1a24;
}
.card__media--listing.card__media--tone3 {
  --thumb-a: #2e3a48;
  --thumb-b: #1e2a36;
  --thumb-c: #101820;
}
.card__media--listing.card__media--tone4 {
  --thumb-a: #243848;
  --thumb-b: #142838;
  --thumb-c: #0d1824;
}
.card__media--listing.card__media--tone5 {
  --thumb-a: #2c3644;
  --thumb-b: #1c2634;
  --thumb-c: #101820;
}
.card__media--listing.card__media--tone6 {
  --thumb-a: #283d50;
  --thumb-b: #182d40;
  --thumb-c: #0f1922;
}
.card__media--listing.card__media--tone7 {
  --thumb-a: #303848;
  --thumb-b: #202838;
  --thumb-c: #121820;
}

.card__media--listing::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background: radial-gradient(ellipse 70% 55% at 28% 32%, var(--thumb-glow), transparent 62%);
  pointer-events: none;
}

.card__media--listing::after {
  background: radial-gradient(circle at 72% 78%, rgba(232, 228, 223, 0.06), transparent 50%);
}

.card {
  background: rgba(26, 42, 58, 0.65);
  border: 1px solid rgba(232, 228, 223, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(201, 169, 97, 0.25);
}

.card--link {
  padding: 0;
}

.card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card__link:hover .card__title,
.card__link:focus-visible .card__title {
  color: var(--gold-soft);
}

.card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    125deg,
    transparent 40%,
    rgba(255, 255, 255, 0.04) 45%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover .card__shine,
.card__link:focus-visible .card__shine {
  opacity: 1;
}

.card__cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.card__media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #243447, #1a2a3a);
  position: relative;
  overflow: hidden;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.12), transparent 55%);
}

.card__body {
  padding: 1rem 1.1rem 1.25rem;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.card__meta {
  font-size: 0.8rem;
  color: var(--slate);
  margin: 0 0 0.5rem;
}

.price {
  font-weight: 600;
  color: var(--gold);
  font-size: 1rem;
}

.price--hero {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0.5rem 0 1.25rem;
}

.listing-section {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.listing-layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

@media (max-width: 900px) {
  .listing-layout {
    grid-template-columns: 1fr;
  }
}

.listing-hero {
  margin: 0;
}

.listing-hero__frame {
  border-radius: calc(var(--radius) + 4px);
  padding: 3px;
  background: linear-gradient(145deg, rgba(201, 169, 97, 0.35), rgba(26, 42, 58, 0.8));
  box-shadow: var(--shadow-lg);
}

.listing-hero__canvas {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  --thumb-a: #2a3f54;
  --thumb-b: #1a2a3a;
  --thumb-c: #0f1922;
  --thumb-glow: rgba(201, 169, 97, 0.14);
  background: linear-gradient(155deg, var(--thumb-a) 0%, var(--thumb-b) 52%, var(--thumb-c) 100%);
  position: relative;
  overflow: hidden;
}

.listing-hero__canvas--tone0 {
  --thumb-a: #2d3f52;
  --thumb-b: #1b2838;
  --thumb-c: #0e1822;
}
.listing-hero__canvas--tone1 {
  --thumb-a: #2a3548;
  --thumb-b: #1a2434;
  --thumb-c: #0f1520;
}
.listing-hero__canvas--tone2 {
  --thumb-a: #263a4a;
  --thumb-b: #162a38;
  --thumb-c: #0f1a24;
}
.listing-hero__canvas--tone3 {
  --thumb-a: #2e3a48;
  --thumb-b: #1e2a36;
  --thumb-c: #101820;
}
.listing-hero__canvas--tone4 {
  --thumb-a: #243848;
  --thumb-b: #142838;
  --thumb-c: #0d1824;
}
.listing-hero__canvas--tone5 {
  --thumb-a: #2c3644;
  --thumb-b: #1c2634;
  --thumb-c: #101820;
}
.listing-hero__canvas--tone6 {
  --thumb-a: #283d50;
  --thumb-b: #182d40;
  --thumb-c: #0f1922;
}
.listing-hero__canvas--tone7 {
  --thumb-a: #303848;
  --thumb-b: #202838;
  --thumb-c: #121820;
}

.listing-hero__canvas::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  background: radial-gradient(ellipse 70% 55% at 28% 32%, var(--thumb-glow), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.listing-hero__canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 78%, rgba(232, 228, 223, 0.06), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.listing-hero__grain {
  z-index: 1;
  position: absolute;
  inset: -20%;
  opacity: 0.07;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.listing-hero__cap {
  margin: 0.75rem 0 0;
  display: flex;
  justify-content: flex-start;
}

.listing-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 97, 0.45);
  color: var(--gold-soft);
  background: rgba(15, 25, 34, 0.6);
}

.listing-type {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: var(--slate);
}

.licence-panel {
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(26, 42, 58, 0.55);
  border: 1px solid rgba(232, 228, 223, 0.1);
}

.licence-panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--cream);
}

.licence-panel__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--whisper);
  font-size: 0.92rem;
  line-height: 1.55;
}

.licence-panel__list li {
  margin-bottom: 0.4rem;
}

.licence-panel__note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--slate);
  font-style: italic;
}

.listing-actions {
  margin-top: 1.75rem;
}

.listing-actions--stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.listing-lead--tight {
  margin: 0;
  max-width: 52ch;
}

.listing-crosshost {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
  max-width: 42ch;
}

/* AIO block */
.aio {
  background: rgba(26, 42, 58, 0.5);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.aio p {
  margin: 0;
  max-width: 65ch;
}

.aio--compact {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1.1rem;
}

.account-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1.25rem;
}

.commerce-flow-toolbar {
  margin-top: 0.25rem;
}

.order-meta__meta {
  font-size: 0.88rem;
  color: var(--slate);
}

.faq {
  margin-top: 2rem;
}

.faq details {
  border-bottom: 1px solid rgba(232, 228, 223, 0.1);
  padding: 0.75rem 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.faq p {
  margin: 0;
  color: var(--whisper);
  font-size: 0.95rem;
}

.marketing-block {
  background: rgba(26, 42, 58, 0.45);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid rgba(232, 228, 223, 0.08);
}

.marketing-block h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.banner {
  margin: 1rem auto 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  max-width: 1120px;
}

.banner--error {
  background: rgba(237, 137, 54, 0.15);
  border: 1px solid rgba(237, 137, 54, 0.4);
  color: #fbd38d;
}

.banner--ok {
  background: rgba(72, 187, 120, 0.12);
  border: 1px solid rgba(72, 187, 120, 0.35);
  color: #9ae6b4;
}

.form {
  max-width: 28rem;
}

.form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--slate);
  background: var(--midnight);
  color: var(--cream);
  font: inherit;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.table-wrap--elevated {
  border-radius: var(--radius);
  border: 1px solid rgba(232, 228, 223, 0.08);
  background: rgba(26, 42, 58, 0.35);
}

.table-wrap--elevated table.data {
  margin: 0;
}

.table-wrap--elevated table.data th:first-child,
.table-wrap--elevated table.data td:first-child {
  padding-left: 1rem;
}

.table-wrap--elevated table.data th:last-child,
.table-wrap--elevated table.data td:last-child {
  padding-right: 1rem;
}

.qty-input {
  width: 4rem;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  border: 1px solid var(--slate);
  background: var(--midnight);
  color: var(--cream);
  font: inherit;
}

.cart-summary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 228, 223, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cart-summary__total {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.cart-summary__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 228, 223, 0.15);
  color: var(--whisper);
}

.status-pill--paid {
  border-color: rgba(72, 187, 120, 0.45);
  color: #9ae6b4;
}

.status-pill--pending_payment {
  border-color: rgba(237, 137, 54, 0.45);
  color: #fbd38d;
}

.status-pill--cancelled {
  border-color: rgba(229, 62, 62, 0.35);
  color: #feb2b2;
}

.status-pill--vis-store_only {
  border-color: rgba(232, 228, 223, 0.2);
  color: var(--whisper);
}

.status-pill--vis-category {
  border-color: rgba(201, 169, 97, 0.4);
  color: var(--gold-soft);
}

.status-pill--vis-full {
  border-color: rgba(72, 187, 120, 0.35);
  color: #9ae6b4;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 0.5rem 0 1.5rem;
}

.order-meta__total {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-soft);
}

.section-heading--inline {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

code {
  font-size: 0.88em;
  padding: 0.12em 0.35em;
  border-radius: 4px;
  background: rgba(15, 25, 34, 0.85);
  border: 1px solid rgba(232, 228, 223, 0.1);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

table.data th,
table.data td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(232, 228, 223, 0.1);
}

table.data th {
  color: var(--whisper);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1rem;
}

.btn--small {
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

.actions--cart-toolbar {
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.cart-clear-form {
  margin: 0;
}

.btn--danger {
  border: 1px solid #e53e3e;
  color: #feb2b2;
  background: transparent;
}

.btn--danger:hover {
  background: rgba(229, 62, 62, 0.15);
}

@media (max-width: 640px) {
  .header__inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    padding-block: 0.65rem;
  }
}
