:root {
  --store-lime: #6558d9;
  --store-dark: #ffffff;
  --store-card: #ffffff;
  --store-line: #e4e7ed;
}

body:has(.dashboard-hero) {
  background: #ffffff;
  color: #171923;
}

.home-announcement {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5px 16px;
  background: #182957;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
}

.home-announcement a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b7c8ff;
  letter-spacing: 0;
}

.home-announcement svg {
  width: 13px;
  height: 13px;
}

.site-header {
  border-bottom-color: #eceef2;
  background: rgba(255, 255, 255, .96);
  color: #171923;
}

.site-header .brand,
.site-header nav a,
.site-header .sign-in,
.site-header .search-trigger {
  color: #252735;
}

.site-header .brand img {
  filter: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"],
.site-header .search-trigger:hover,
.site-header .sign-in:hover {
  color: #6558d9;
}

.site-header .header-actions .primary {
  border-color: #6558d9;
  background: #6558d9;
  color: #ffffff;
}

.site-header .menu-button {
  border-color: #e4e7ed;
  background: #ffffff;
}

.site-header .menu-button span {
  background: #252735;
}

.site-header.menu-open nav,
.site-header.menu-open .header-actions {
  border-color: #e4e7ed;
  background: #ffffff;
}

.hero.marketplace-hero.dashboard-hero {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 57px 24px 49px;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, .9), transparent 33%),
    radial-gradient(ellipse at 92% 18%, rgba(255, 255, 255, .78), transparent 31%),
    linear-gradient(110deg, #f8d9e8 0%, #eee1ff 49%, #dceaff 100%);
  color: #171923;
}

.dashboard-hero .hero-copy {
  display: flex;
  width: 100%;
  max-width: 930px;
  min-height: 0;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #171923;
  text-align: center;
}

.dashboard-hero .hero-copy::before,
.dashboard-hero .hero-copy::after {
  display: none;
}

.dashboard-hero .overline {
  justify-content: center;
  margin: 0 0 14px;
  color: #5e51c8;
  font-size: 10px;
  letter-spacing: .13em;
}

.dashboard-hero .hero-copy > .overline > span {
  background: #6558d9;
  box-shadow: 0 0 0 4px rgba(101, 88, 217, .12);
}

.dashboard-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #171923;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.dashboard-hero .hero-text {
  max-width: 660px;
  margin: 15px 0 0;
  color: #5e6270;
  font-size: 16px;
  line-height: 1.6;
}

.home-creator-prompt {
  width: min(100%, 760px);
  margin: 26px auto 0;
  padding: 11px 12px 10px;
  border: 1px solid rgba(58, 60, 84, .13);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 42px rgba(74, 65, 110, .13);
  text-align: left;
}

.home-creator-prompt textarea {
  display: block;
  width: 100%;
  min-height: 66px;
  padding: 10px 11px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252735;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.home-creator-prompt textarea::placeholder {
  color: #9296a2;
}

.home-prompt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 3px 0;
  border-top: 1px solid #eff0f4;
}

.home-prompt-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #777b89;
  font-size: 12px;
}

.home-prompt-footer > span svg {
  width: 16px;
  height: 16px;
  color: #6558d9;
}

.home-prompt-footer .primary {
  min-height: 40px;
  gap: 9px;
  padding: 0 14px;
  border-color: #6558d9;
  border-radius: 8px;
  background: #6558d9;
  color: #ffffff;
  font-size: 12px;
}

.home-prompt-footer .primary svg {
  width: 15px;
  height: 15px;
}

.home-prompt-suggestions {
  display: grid;
  width: min(100%, 760px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 13px auto 0;
}

.home-prompt-suggestions a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(76, 78, 100, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .74);
  color: #393b49;
  text-align: left;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.home-prompt-suggestions a:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 88, 217, .36);
  background: #ffffff;
}

.home-prompt-suggestions a > svg:first-child {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #6558d9;
}

.home-prompt-suggestions a > span {
  display: grid;
  min-width: 0;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
}

.home-prompt-suggestions small {
  overflow: hidden;
  color: #858997;
  font-size: 10px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-prompt-suggestions .suggestion-arrow {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #989baa;
}

.dashboard-hero .trust-row {
  justify-content: center;
  gap: 23px;
  margin-top: 21px;
  color: #646978;
  font-size: 11px;
}

.dashboard-hero .trust-row span > svg {
  width: 15px;
  height: 15px;
  color: #6558d9;
}

.dashboard-overview {
  display: grid;
  max-width: 1280px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 30px auto 0;
  padding: 0 24px;
}

.dashboard-overview-card {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #e8eaf0;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(25, 30, 55, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dashboard-overview-card:hover {
  transform: translateY(-2px);
  border-color: #d3cef4;
  box-shadow: 0 10px 24px rgba(25, 30, 55, .08);
}

.overview-icon {
  display: grid;
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: #f0edff;
  color: #6558d9;
}

.overview-icon svg {
  width: 19px;
  height: 19px;
}

.dashboard-overview-card > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.dashboard-overview-card small {
  color: #858997;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .09em;
}

.dashboard-overview-card strong {
  color: #252735;
  font-size: 13px;
}

.dashboard-overview-card em {
  overflow: hidden;
  color: #777b89;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overview-arrow {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #999cab;
}

.product-section {
  max-width: none;
  padding: 82px max(22px, calc((100vw - 1280px) / 2)) 90px;
  background: #ffffff;
  color: #171923;
}

.product-section .overline,
.product-section .section-heading h2 {
  color: #171923;
}

.product-section .section-heading > p,
.store-list-heading > span {
  color: #6d7280;
}

.catalog-search {
  max-width: 720px;
  min-height: 54px;
  margin-top: 32px;
  border-color: #e2e5eb;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(20, 25, 40, .045);
}

.catalog-search:focus-within {
  border-color: #9c92e8;
  box-shadow: 0 0 0 3px rgba(101, 88, 217, .1);
}

.catalog-search > svg,
.catalog-search input,
.catalog-search input::placeholder {
  color: #737887;
}

.catalog-search .primary {
  border-radius: 7px;
  background: #6558d9;
  color: #ffffff;
}

.product-section .search-hint {
  margin: 11px 0 28px;
  color: #777b89;
}

.product-section .search-hint button {
  border-color: #e3e5ec;
  border-radius: 6px;
  background: #ffffff;
  color: #606575;
}

.product-section .search-hint button:hover {
  border-color: #bcb5ef;
  color: #5e51c8;
}

.catalog-toolbar > span {
  color: #777b89;
}

.category-tabs {
  border-color: #e4e7ed;
}

.category-tabs button {
  border-color: #e4e7ed;
  background: #ffffff;
  color: #656a78;
}

.category-tabs button.active {
  border-color: #6558d9;
  background: #f3f1ff;
  color: #5e51c8;
}

.catalog-notice {
  border-color: #ecdcae;
  background: #fff9e8;
  color: #695b31;
}

.catalog-notice p {
  color: #625735;
}

.catalog-notice button {
  border-color: #ddcfaa;
  background: #fffdf6;
  color: #625735;
}

.catalog-loading .catalog-skeleton {
  border-color: #e4e7ed;
  background: linear-gradient(110deg, #f4f5f8 25%, #e8eaf0 45%, #f4f5f8 65%);
}

.store-feature {
  border: 1px solid #e5e7ee;
  background: #ffffff;
  color: #171923;
  box-shadow: 0 9px 26px rgba(20, 25, 40, .055);
}

.feature-label {
  color: #777b89;
}

.feature-copy h3 {
  color: #171923;
}

.feature-copy p {
  color: #646978;
}

.feature-copy strong {
  color: #5e51c8;
}

.store-feature .feature-copy button {
  border-color: #6558d9;
  background: #6558d9;
  color: #ffffff;
}

.store-list-heading h3 {
  color: #171923;
}

.product-card {
  border-color: #e4e7ed;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(20, 25, 40, .055);
}

.product-card:hover {
  border-color: #d0cbf0;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 25, 40, .11);
}

.product-card .product-name > div h3,
.product-card .product-info h3 {
  color: #222431;
}

.product-card .product-name > div p,
.product-card .product-info > p {
  color: #626775;
}

.product-card .product-info > p.product-clarifier {
  color: #80662b;
}

.product-card .store-price {
  color: #5e51c8;
}

.product-card .store-price span {
  color: #747987;
}

.product-card .card-foot {
  border-color: #e5e7ed;
}

.product-card .card-foot > span {
  color: #777b89;
}

.product-card .card-foot button {
  color: #5e51c8;
}

.catalog-empty {
  border-color: #e4e7ed;
  background: #f7f8fb;
  color: #252735;
}

.catalog-empty p {
  color: #747987;
}

.wallet-story {
  border-color: #e6e8ef;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(101, 88, 217, .07), transparent 40%),
    #f7f8fc;
  color: #171923;
}

.wallet-copy h2,
.wallet-copy > .overline,
.wallet-copy li b {
  color: #171923;
}

.wallet-copy > .overline,
.wallet-copy li > span {
  color: #6558d9;
}

.wallet-copy > p:not(.overline) {
  color: #626775;
}

.wallet-copy li {
  border-color: #e2e5ec;
}

.wallet-copy li small {
  color: #777b89;
}

.wallet-panel {
  border-color: #e4e7ed;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(20, 25, 40, .09);
  color: #252735;
}

.wallet-panel-head,
.wallet-activity > p,
.wallet-activity small {
  color: #777b89;
}

.wallet-panel-head button {
  color: #535867;
}

.wallet-panel > strong {
  color: #222431;
}

.wallet-add {
  background: #6558d9;
  color: #ffffff;
}

.wallet-activity > p a {
  color: #5e51c8;
}

.wallet-activity > div {
  border-color: #e7e9ef;
}

.wallet-activity b,
.wallet-activity em {
  color: #424654;
}

.wallet-activity em.positive {
  color: #4a8f69;
}

.platform-band {
  border-color: #e8eaf0;
  background: #f7f8fb;
  color: #171923;
}

.platform-band .overline,
.platform-points span {
  color: #6558d9;
}

.platform-points {
  background: #e5e7ed;
}

.platform-points article {
  background: #ffffff;
}

.platform-points h3 {
  color: #252735;
}

.platform-points p {
  color: #6d7280;
}

.final-cta {
  color: #171923;
}

.final-cta .overline {
  color: #6558d9;
}

.final-cta h2 {
  color: #171923;
}

.final-cta > p:not(.overline) {
  color: #626775;
}

.final-cta .primary.light {
  border-color: #6558d9;
  background: #6558d9;
  color: #ffffff;
}

.final-cta .text-link {
  color: #5e51c8;
}

footer {
  border-color: #e5e7ed;
  background: #f7f8fb;
  color: #252735;
}

footer .brand {
  color: #252735;
}

footer .brand img {
  filter: none;
}

.footer-main > p {
  color: #6d7280;
}

.footer-main h3 {
  color: #252735;
}

.footer-main a:not(.brand) {
  color: #6d7280;
}

.footer-main a:hover {
  color: #5e51c8;
}

.footer-bottom {
  border-color: #e1e4eb;
  color: #858997;
}

.footer-bottom a {
  color: #6d7280;
}

@media (max-width: 900px) {
  .hero.marketplace-hero.dashboard-hero {
    display: block;
    min-height: 0;
    padding: 48px 20px 42px;
  }

  .dashboard-hero .hero-copy {
    min-height: 0;
    align-items: center;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .header-inner nav {
    display: flex;
    gap: 16px;
    margin-left: 32px;
  }

  .header-actions {
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .home-announcement {
    min-height: 30px;
    gap: 8px;
    font-size: 9px;
  }

  .hero.marketplace-hero.dashboard-hero {
    display: block;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: 42px 16px 34px;
  }

  .dashboard-hero .hero-copy {
    min-height: 0;
    padding: 0;
  }

  .dashboard-hero h1 {
    font-size: clamp(38px, 10.5vw, 54px);
    letter-spacing: -.055em;
  }

  .dashboard-hero .hero-text {
    margin-top: 12px;
    font-size: 14px;
  }

  .home-creator-prompt {
    margin-top: 21px;
    padding: 9px;
  }

  .home-creator-prompt textarea {
    min-height: 62px;
    font-size: 13px;
  }

  .home-prompt-footer {
    gap: 8px;
  }

  .home-prompt-footer > span {
    font-size: 10px;
  }

  .home-prompt-footer .primary {
    min-height: 38px;
    gap: 6px;
    padding: 0 10px;
    font-size: 10px;
  }

  .home-prompt-suggestions {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 10px;
  }

  .home-prompt-suggestions a {
    padding: 10px 11px;
  }

  .dashboard-hero .trust-row {
    gap: 9px 14px;
    margin-top: 16px;
    font-size: 10px;
  }

  .dashboard-overview {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
    padding: 0 16px;
  }

  .dashboard-overview-card {
    padding: 13px;
  }

  .product-section {
    padding: 62px 18px 70px;
  }

  .catalog-search {
    min-height: 50px;
    margin-top: 24px;
  }

  .product-section .search-hint {
    margin-bottom: 22px;
  }

  .site-header.menu-open nav {
    position: absolute;
    z-index: 102;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 7px 16px;
    border-bottom: 0;
    background: #ffffff;
    box-shadow: 0 8px 14px rgba(20, 25, 40, .04);
  }

  .site-header.menu-open nav a {
    padding: 11px 0;
    border-bottom: 1px solid #f0f1f5;
  }

  .site-header.menu-open .header-actions {
    z-index: 101;
    top: 236px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-prompt-suggestions a,
  .dashboard-overview-card {
    transition: none;
  }
}
