:root {
  --store-bg: #f7f8f6;
  --store-surface: #ffffff;
  --store-ink: #181a18;
  --store-muted: #686d68;
  --store-line: #dcded7;
  --store-green: #003f35;
  --store-green-dark: #002f27;
  --store-green-soft: #e3efea;
  --store-coral: #e46145;
  --store-shadow: 0 18px 50px rgba(24, 26, 24, 0.08);
  --store-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --store-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body.store-page {
  margin: 0;
  background: var(--store-bg);
  color: var(--store-ink);
  font-family: var(--store-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.store-page a {
  color: inherit;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 246, 0.9);
  border-bottom: 1px solid rgba(220, 222, 215, 0.9);
  backdrop-filter: blur(18px);
}

.store-header__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.store-brand {
  text-decoration: none;
  font-family: var(--store-sans);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.store-brand span {
  color: var(--store-green);
}

.store-desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}

.store-desktop-nav a {
  color: var(--store-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.store-desktop-nav a:hover,
.store-desktop-nav a.is-active {
  color: var(--store-green);
}

.store-desktop-nav a.store-sell-link {
  color: var(--store-coral);
}

.store-desktop-nav a.store-sell-link:hover,
.store-desktop-nav a.store-sell-link.is-active {
  color: #c94a30;
}

.store-account {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.store-credit-pill,
.store-login,
.store-account-link {
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.store-credit-pill {
  background: var(--store-green-soft);
  color: var(--store-green-dark);
}

.store-login {
  border: 1px solid var(--store-green);
  background: transparent;
  color: var(--store-green) !important;
}

.store-account-link {
  gap: 6px;
  border: 1px solid var(--store-green);
  color: var(--store-green) !important;
}

.store-account-link i {
  font-size: 18px;
}

.store-account-link:hover,
.store-account-link.is-active {
  background: var(--store-green);
  color: #fff !important;
}

.store-login:hover {
  background: var(--store-green);
  color: #fff !important;
}

.store-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

.store-intro {
  max-width: 720px;
}

.store-eyebrow,
.store-section__heading > p {
  margin: 0 0 7px;
  color: var(--store-green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.store-intro h1 {
  margin: 0;
  color: var(--store-green);
  font-size: clamp(48px, 6.5vw, 76px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.store-intro > p:last-child {
  max-width: 620px;
  margin: 14px 0 0;
  color: #3d433f;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.store-search {
  max-width: 720px;
  margin-top: 44px;
}

.store-search__field {
  min-height: 58px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(24, 26, 24, 0.045);
  color: var(--store-muted);
}

.store-search__field > i {
  font-size: 22px;
}

.store-search__field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--store-ink);
  font: inherit;
  font-size: 16px;
}

.store-search__field input::placeholder {
  color: #8b8f8b;
}

.store-search__field:focus-within {
  border-color: var(--store-green);
  box-shadow: 0 0 0 4px rgba(13, 91, 67, 0.11);
}

.store-search__field button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eceee9;
  color: var(--store-muted);
  cursor: pointer;
}

.store-section,
.store-categories {
  margin-top: 62px;
}

.store-section__heading {
  margin-bottom: 25px;
}

.store-section__heading h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.store-app-list {
  border-top: 1px solid var(--store-line);
}

.store-app {
  min-width: 0;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--store-line);
}

.store-app--featured {
  grid-template-columns: 136px minmax(0, 1fr) auto;
  padding: 8px 0;
  border-width: 1px 0;
}

.store-app[hidden] {
  display: none;
}

.store-app__icon-link {
  display: block;
  overflow: hidden;
  border-radius: 24%;
  line-height: 0;
}

.store-app__icon {
  width: 96px;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(24, 26, 24, 0.09);
  border-radius: 24%;
  background: var(--store-surface);
  box-shadow: 0 10px 24px rgba(24, 26, 24, 0.08);
}

.store-app--featured .store-app__icon {
  width: 136px;
}

.store-app__icon--fallback {
  display: grid;
  place-items: center;
  background: var(--store-green);
  color: #fff;
  font-family: var(--store-serif);
  font-size: 50px;
  font-weight: 800;
}

.store-app__content {
  min-width: 0;
}

.store-app__status {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--store-green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.store-app__status i {
  font-size: 14px;
}

.store-app h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.store-app h3 a {
  text-decoration: none;
}

.store-app h3 a:hover {
  color: var(--store-green);
}

.store-app__tagline {
  margin: 6px 0 0;
  color: var(--store-muted);
  font-size: 17px;
}

.store-app__meta {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-app__meta span {
  padding: 5px 9px;
  background: #eceee9;
  border-radius: 999px;
  color: #4e544f;
  font-size: 12px;
  font-weight: 750;
}

.store-app__price-note {
  margin: 8px 0 0;
  color: var(--store-muted);
  font-size: 12px;
}

.store-app__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.store-button {
  min-width: 86px;
  min-height: 42px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--store-green);
  border-radius: 8px;
  background: transparent;
  color: var(--store-green) !important;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.store-button:hover {
  background: var(--store-green-soft);
}

.store-button--primary {
  border-color: var(--store-green);
  background: var(--store-green);
  color: #fff !important;
}

.store-button--primary:hover {
  background: var(--store-green-dark);
}

.store-details-link {
  color: var(--store-muted) !important;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.store-details-link:hover {
  color: var(--store-green) !important;
  text-decoration: underline;
}

.store-empty,
.store-no-results {
  margin: 0;
  padding: 30px 0;
  color: var(--store-muted);
}

.store-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-category-list button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.store-category-list button:hover,
.store-category-list button.is-active {
  border-color: var(--store-green);
  background: var(--store-green);
  color: #fff;
}

.store-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--store-line);
  color: var(--store-muted);
  font-size: 13px;
}

.store-footer p {
  margin: 0;
}

.store-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
}

.store-footer a {
  font-weight: 700;
  text-decoration: none;
}

.store-footer a:hover {
  color: var(--store-green);
}

.store-bottom-nav {
  display: none;
}

/* Account and purchased-product library */
.store-library {
  width: min(980px, calc(100% - 40px));
}

.account-shell {
  width: min(1120px, calc(100% - 40px));
}

.library-section {
  margin-top: 58px;
}

.library-list {
  border-top: 1px solid var(--store-line);
}

.library-card,
.library-empty {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--store-line);
}

.library-card__icon,
.library-empty > i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--store-green-soft);
  color: var(--store-green);
  font-size: 29px;
}

.library-card__body h3,
.library-empty h3 {
  margin: 1px 0 4px;
  font-size: 21px;
}

.library-card__body > p:not(.library-status),
.library-empty p,
.library-empty-row {
  margin: 0;
  color: var(--store-muted);
}

.library-status {
  margin: 0 0 5px;
  color: var(--store-green);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.library-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.library-actions form {
  margin: 0;
}

.library-empty a,
.library-review summary {
  color: var(--store-green);
  font-weight: 800;
}

.library-key {
  margin-top: 38px;
  padding: 24px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid #d4b778;
  border-radius: 12px;
  background: #fffaf0;
}

.library-key > i {
  color: #8a5b00;
  font-size: 32px;
}

.library-key h2,
.library-key p {
  margin: 0;
}

.library-key p {
  margin-top: 4px;
  color: #6d551f;
}

.library-key code {
  margin-top: 15px;
  padding: 12px;
  display: block;
  overflow-wrap: anywhere;
  border-radius: 7px;
  background: var(--store-green-dark);
  color: #dff1eb;
}

.library-review {
  margin-top: 18px;
}

.library-review form {
  max-width: 580px;
  margin-top: 14px;
}

.library-review label {
  margin: 11px 0 5px;
  display: block;
  font-size: 13px;
  font-weight: 750;
}

.library-review input,
.library-review select,
.library-review textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9cec8;
  border-radius: 8px;
  background: #fff;
  color: var(--store-ink);
  font: inherit;
}

.library-review textarea {
  min-height: 120px;
  resize: vertical;
}

.library-reviewed {
  margin-top: 14px !important;
  color: var(--store-green) !important;
  font-weight: 750;
}

.account-heading,
.account-card__heading,
.account-card--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.account-heading h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: -.045em;
  line-height: 1;
}

.account-heading p:not(.store-eyebrow) {
  margin: 8px 0 0;
  color: var(--store-muted);
}

.account-heading form {
  margin: 0;
}

.account-role,
.account-status {
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--store-green-soft);
  color: var(--store-green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-card {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: var(--store-surface);
}

.account-card h2,
.account-card__heading p {
  margin: 0;
}

.account-card__heading h2 {
  font-size: 27px;
}

.account-card__heading p,
.account-muted {
  color: var(--store-muted);
}

.account-card__heading > strong {
  color: var(--store-green);
  font-size: 25px;
}

.account-table-wrap {
  margin-top: 22px;
  overflow-x: auto;
}

.account-card table {
  width: 100%;
  border-collapse: collapse;
}

.account-card th,
.account-card td {
  padding: 10px 8px;
  border-bottom: 1px solid #eceee9;
  font-size: 14px;
  text-align: left;
}

.account-card code {
  color: var(--store-muted);
}

.account-status--rejected {
  background: #fce9e5;
  color: #a2311d;
}

.account-notice {
  margin: 20px 0 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  background: var(--store-green-soft);
  color: var(--store-green);
  font-weight: 750;
}

.account-notice i {
  font-size: 21px;
}

.account-license-key {
  margin-top: 22px;
}

.account-purchase-list {
  margin-top: 24px;
  border-top: 1px solid var(--store-line);
}

.account-purchase {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  border-bottom: 1px solid var(--store-line);
}

.account-purchase h3,
.account-purchases-empty h3 {
  margin: 1px 0 4px;
  font-size: 21px;
}

.account-purchase p:not(.library-status),
.account-purchases-empty p,
.account-order p:not(.library-status) {
  margin: 0;
  color: var(--store-muted);
}

.account-orders {
  margin-top: 28px;
}

.account-orders > h3 {
  margin: 0;
  font-size: 20px;
}

.account-order {
  padding: 17px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
  align-items: start;
  gap: 24px;
  border-bottom: 1px solid var(--store-line);
}

.account-order h4 {
  margin: 1px 0 4px;
  font-size: 17px;
}

.account-order .library-review {
  margin-top: 0;
}

.account-purchases-empty {
  margin-top: 24px;
  padding: 22px 0 2px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--store-line);
}

.account-purchases-empty > i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--store-green-soft);
  color: var(--store-green);
  font-size: 25px;
}

.account-purchases-empty a {
  color: var(--store-green);
  font-weight: 800;
}

/* Unified buyer and seller account hub */
.account-heading {
  align-items: flex-end;
}

.account-heading h1 {
  font-size: clamp(52px, 7vw, 76px);
}

.account-heading p:not(.store-eyebrow) {
  max-width: 700px;
  font-size: 18px;
}

.account-paths {
  margin-top: 52px;
  padding-bottom: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--store-line);
}

.account-path {
  min-width: 0;
  padding: 6px 44px 0 0;
}

.account-path + .account-path {
  padding-right: 0;
  padding-left: 44px;
  border-left: 1px solid var(--store-line);
}

.account-path__label {
  margin: 0 0 10px;
  color: var(--store-green);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.account-path--seller .account-path__label,
.account-path__label--seller {
  color: var(--store-coral);
}

.account-path h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -.04em;
  line-height: 1.06;
}

.account-path > p:not(.account-path__label) {
  max-width: 470px;
  min-height: 54px;
  margin: 13px 0 0;
  color: var(--store-muted);
  font-size: 16px;
}

.account-path__actions {
  margin-top: 24px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 13px;
}

.account-path__actions .store-button {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.account-seller-button {
  border-color: var(--store-coral);
  background: var(--store-coral);
  color: #fff !important;
}

.account-seller-button:hover {
  border-color: #c94a30;
  background: #c94a30;
}

.account-text-link {
  color: var(--store-green) !important;
  font-weight: 800;
  text-underline-offset: 5px;
}

.account-section {
  margin-top: 52px;
}

.account-section__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.account-section__heading h2,
.account-section__heading p {
  margin: 0;
}

.account-section__heading h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  letter-spacing: -.04em;
  line-height: 1;
}

.account-section__heading p {
  margin-top: 8px;
  color: var(--store-muted);
}

.account-section__heading > strong {
  color: var(--store-green);
}

.account-section table,
.account-ai-utility table {
  width: 100%;
  border-collapse: collapse;
}

.account-section th,
.account-section td,
.account-ai-utility th,
.account-ai-utility td {
  padding: 10px 8px;
  border-bottom: 1px solid #eceee9;
  font-size: 14px;
  text-align: left;
}

.account-purchases-empty--centered {
  min-height: 190px;
  margin-top: 22px;
  padding: 28px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  text-align: center;
}

.account-purchases-empty--centered > i {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--store-ink);
  font-size: 42px;
}

.account-purchases-empty--centered h3 {
  font-size: 18px;
}

.account-purchases-empty--centered p {
  margin: 4px 0 5px;
}

.account-seller-overview {
  padding-top: 42px;
  border-top: 1px solid var(--store-line);
}

.account-product-list {
  margin-top: 24px;
  border-top: 1px solid var(--store-line);
}

.account-product-row {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--store-line);
}

.account-product-row > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--store-line);
  border-radius: 9px;
  color: var(--store-green);
  font-size: 21px;
}

.account-product-row p {
  margin: 3px 0 0;
  color: var(--store-muted);
}

.account-ai-utility {
  margin-top: 46px;
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
}

.account-ai-utility summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  color: var(--store-muted);
  list-style: none;
}

.account-ai-utility summary::-webkit-details-marker {
  display: none;
}

.account-ai-utility__title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--store-ink);
}

.account-ai-utility__title i {
  color: var(--store-green);
  font-size: 23px;
}

.account-ai-utility__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--store-green);
  font-weight: 800;
}

.account-ai-utility[open] .account-ai-utility__link i {
  transform: rotate(180deg);
}

.account-ai-utility__body {
  padding: 8px 0 28px;
}

.account-ai-utility__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.account-ai-utility__heading p {
  max-width: 720px;
  margin: 0;
  color: var(--store-muted);
}

/* Legal documents and developer guide */
.legal-shell {
  width: min(900px, calc(100% - 40px));
  padding-top: 44px;
}

.legal-tabs {
  margin: 28px 0 0;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
}

.legal-tabs a {
  color: var(--store-muted) !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.legal-tabs a:hover,
.legal-tabs a.is-active {
  color: var(--store-green) !important;
}

.legal-document {
  max-width: 760px;
  padding: 48px 0 18px;
  line-height: 1.68;
}

.legal-document h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 6vw, 66px);
  letter-spacing: -.05em;
  line-height: 1;
}

.legal-document h2 {
  margin: 42px 0 12px;
  font-size: 25px;
  letter-spacing: -.025em;
}

.legal-document p,
.legal-document li {
  color: #474d48;
}

.legal-document a {
  color: var(--store-green) !important;
  font-weight: 800;
}

.legal-document code {
  padding: 2px 5px;
  border-radius: 4px;
  background: #eceee9;
  font-size: .9em;
}

/* App detail */
.store-detail-shell {
  padding-top: 38px;
}

.store-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--store-green) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.store-back i {
  font-size: 18px;
}

.store-detail-hero {
  padding: 42px 0 38px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.store-detail-icon {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(24, 26, 24, 0.1);
  border-radius: 25%;
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
}

.store-detail-heading h1 {
  margin: 2px 0 4px;
  font-family: var(--store-serif);
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.store-detail-heading > p:not(.store-app__status) {
  margin: 7px 0 0;
  color: var(--store-muted);
  font-size: 20px;
}

.store-detail-heading .store-detail-developer {
  color: var(--store-green);
  font-size: 14px;
  font-weight: 800;
}

.store-detail-action {
  min-width: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.store-detail-action form {
  margin: 0;
}

.store-detail-action > span {
  max-width: 170px;
  color: var(--store-muted);
  font-size: 12px;
  text-align: center;
}

.store-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
}

.store-facts > div {
  min-width: 0;
  padding: 22px;
  text-align: center;
}

.store-facts > div + div {
  border-left: 1px solid var(--store-line);
}

.store-facts span,
.store-facts small {
  display: block;
  color: var(--store-muted);
  font-size: 11px;
}

.store-facts span {
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.store-facts strong {
  min-height: 48px;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 2.2vw, 25px);
  line-height: 1.05;
}

.store-facts small i {
  color: #bd7b00;
}

.store-detail-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
  gap: 54px;
}

.store-detail-section {
  padding-bottom: 45px;
}

.store-detail-section + .store-detail-section {
  padding-top: 45px;
  border-top: 1px solid var(--store-line);
}

.store-detail-section h2,
.store-info h2 {
  margin: 0;
  font-family: var(--store-serif);
  font-size: 37px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.store-detail-description {
  margin: 19px 0 0;
  color: #3f4541;
  font-size: 20px;
  line-height: 1.65;
}

.store-media-section {
  margin-top: 54px;
  padding-bottom: 0;
}

.store-screenshots {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.store-screenshots img {
  width: min(72vw, 520px);
  aspect-ratio: 9 / 16;
  flex: 0 0 auto;
  object-fit: cover;
  scroll-snap-align: start;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: var(--store-surface);
}

.store-info {
  position: sticky;
  top: 106px;
  padding: 26px;
  background: var(--store-surface);
  border: 1px solid var(--store-line);
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(24, 26, 24, 0.05);
}

.store-info h2 {
  font-size: 30px;
}

.store-info dl {
  margin: 22px 0 0;
}

.store-info dl > div {
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  border-top: 1px solid #eceee9;
}

.store-info dt {
  color: var(--store-muted);
}

.store-info dd {
  margin: 0;
  text-align: right;
}

.store-info dd small {
  margin-top: 3px;
  display: block;
  color: var(--store-muted);
  font-size: 11px;
}

.store-info-links {
  margin-top: 7px;
  display: grid;
}

.store-info-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #eceee9;
  color: var(--store-green);
  font-weight: 800;
  text-decoration: none;
}

.store-info-links a:hover span {
  text-decoration: underline;
}

.store-info-links i {
  font-size: 19px;
}

.store-reviews {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.store-review {
  padding: 22px;
  border: 1px solid var(--store-line);
  border-radius: 14px;
  background: var(--store-surface);
}

.store-review p {
  margin: 0;
  color: #bd7b00;
  letter-spacing: 0.06em;
}

.store-review h3 {
  margin: 7px 0;
}

.store-review div {
  color: var(--store-muted);
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 72px;
  }

  body.store-page {
    padding-bottom: 82px;
  }

  .store-header__inner {
    width: calc(100% - 28px);
    max-width: 1120px;
    min-height: 64px;
    gap: 12px;
  }

  .store-brand {
    font-size: 27px;
  }

  .store-desktop-nav,
  .store-login {
    display: none;
  }

  .store-account {
    display: none;
  }

  .store-shell {
    width: calc(100% - 32px);
    max-width: 660px;
    padding: 32px 0 40px;
  }

  .store-intro h1 {
    font-size: 48px;
  }

  .store-intro > p:last-child {
    max-width: 330px;
    margin-top: 9px;
    font-size: 16px;
    line-height: 1.35;
  }

  .store-search {
    margin-top: 32px;
  }

  .store-search__field {
    min-height: 54px;
    border-radius: 15px;
  }

  .store-section,
  .store-categories {
    margin-top: 40px;
  }

  .store-section__heading {
    margin-bottom: 10px;
  }

  .store-section__heading h2 {
    font-size: 23px;
    letter-spacing: -0.025em;
  }

  .store-app,
  .store-app--featured {
    padding: 6px 0;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 8px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .store-app__icon,
  .store-app--featured .store-app__icon {
    width: 88px;
  }

  .store-app__status {
    display: none;
  }

  .store-app h3 {
    font-size: 20px;
  }

  .store-app__tagline {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.3;
  }

  .store-app__meta {
    margin-top: 9px;
    gap: 5px;
  }

  .store-app__meta span {
    padding: 4px 7px;
    font-size: 9px;
  }

  .store-app__price-note {
    display: none;
  }

  .store-app__actions {
    gap: 6px;
  }

  .store-button {
    min-width: 68px;
    min-height: 36px;
    padding: 8px 13px;
    font-size: 13px;
  }

  .store-details-link {
    display: none;
  }

  .store-footer {
    width: calc(100% - 32px);
    max-width: 660px;
    padding-bottom: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .store-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 50;
    min-height: 64px;
    padding: 7px 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(220, 222, 215, 0.95);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(24, 26, 24, 0.16);
    backdrop-filter: blur(18px);
  }

  .store-bottom-nav a {
    min-width: 0;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #666b66;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
  }

  .store-bottom-nav a:hover,
  .store-bottom-nav a.is-active {
    color: var(--store-green);
  }

  .store-bottom-nav i {
    font-size: 22px;
  }

  .store-detail-shell {
    padding-top: 22px;
  }

  .store-detail-hero {
    padding: 31px 0 26px;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    gap: 15px;
  }

  .store-detail-icon {
    width: 100px;
    height: 100px;
  }

  .store-detail-heading h1 {
    font-size: clamp(37px, 11vw, 54px);
  }

  .store-detail-heading > p:not(.store-app__status) {
    font-size: 14px;
    line-height: 1.3;
  }

  .store-detail-heading .store-detail-developer {
    font-size: 11px;
  }

  .store-detail-action {
    min-width: 68px;
  }

  .store-detail-action > span {
    max-width: 78px;
    font-size: 9px;
  }

  .store-facts {
    grid-template-columns: repeat(4, minmax(105px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .store-facts::-webkit-scrollbar {
    display: none;
  }

  .store-facts > div {
    padding: 17px 12px;
  }

  .store-facts strong {
    min-height: 38px;
    font-size: 16px;
  }

  .store-detail-grid {
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .store-detail-section {
    padding-bottom: 35px;
  }

  .store-detail-section + .store-detail-section {
    padding-top: 35px;
  }

  .store-detail-section h2,
  .store-info h2 {
    font-size: 31px;
  }

  .store-detail-description {
    font-size: 17px;
    line-height: 1.6;
  }

  .store-info {
    position: static;
    padding: 23px;
  }

  .library-card,
  .library-empty {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
  }

  .library-card__icon,
  .library-empty > i {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .library-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .library-key {
    padding: 18px;
    grid-template-columns: 1fr;
  }

  .account-heading,
  .account-card__heading,
  .account-card--split {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-heading {
    gap: 18px;
  }

  .account-heading h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .account-heading p:not(.store-eyebrow) {
    font-size: 16px;
  }

  .account-paths {
    margin-top: 38px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .account-path,
  .account-path + .account-path {
    padding: 0 0 38px;
    border-left: 0;
    border-bottom: 1px solid var(--store-line);
  }

  .account-path + .account-path {
    padding-top: 38px;
  }

  .account-path > p:not(.account-path__label) {
    min-height: 0;
  }

  .account-path__actions .store-button {
    width: 100%;
  }

  .account-section {
    margin-top: 40px;
  }

  .account-section__heading,
  .account-ai-utility__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-section__heading h2 {
    font-size: 32px;
  }

  .account-purchases-empty--centered {
    min-height: 180px;
    padding: 24px 18px;
    flex-direction: column;
  }

  .account-seller-overview {
    padding-top: 34px;
  }

  .account-ai-utility summary {
    min-height: 0;
    padding: 19px 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
  }

  .account-ai-utility summary > span:nth-child(2) {
    grid-column: 1 / 2;
    padding-left: 34px;
  }

  .account-ai-utility__link {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .account-table-wrap {
    width: 100%;
  }

  .legal-shell {
    width: calc(100% - 32px);
    padding-top: 26px;
  }

  .legal-tabs {
    margin-top: 20px;
  }

  .legal-document {
    padding-top: 34px;
  }

  .legal-document h1 {
    font-size: 44px;
  }

  .account-card {
    padding: 21px;
  }

  .account-order {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 460px) {
  .store-app,
  .store-app--featured {
    grid-template-columns: 86px minmax(0, 1fr) auto;
    gap: 6px;
  }

  .store-app__icon,
  .store-app--featured .store-app__icon {
    width: 86px;
  }

  .store-app__meta span:first-child {
    display: none;
  }

  .store-detail-hero {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .store-detail-icon {
    width: 88px;
    height: 88px;
  }

  .store-detail-action {
    grid-column: 1 / -1;
    align-items: flex-start;
    flex-direction: row;
  }

  .store-detail-action > span {
    max-width: none;
    align-self: center;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:focus-visible {
  outline: 3px solid rgba(13, 91, 67, 0.35);
  outline-offset: 3px;
}

/* Marketplace discovery: one editorial feature, then need-based categories. */
.store-catalog-page .store-shell {
  padding-top: 36px;
}

.store-catalog-page .store-search {
  max-width: 820px;
}

.store-catalog-page .store-search--lead {
  margin-top: 0;
}

.store-search__hint {
  margin: 10px 2px 0;
  color: var(--store-muted);
  font-size: 15px;
  line-height: 1.35;
}

.store-catalog-page .store-section,
.store-catalog-page .store-categories {
  margin-top: 44px;
}

.store-catalog-page .store-section__heading {
  margin-bottom: 16px;
}

.store-catalog-page .store-section__heading h2 {
  font-size: clamp(25px, 2.5vw, 32px);
}

.store-section__heading--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.store-reset-filter {
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--store-green);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.store-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-catalog-page .store-app--featured {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--store-line);
  border-radius: 14px;
  background: var(--store-surface);
}

.store-catalog-page .store-app--featured .store-app__icon {
  width: 48px;
}

.store-catalog-page .store-app--featured h3 {
  font-size: 18px;
}

.store-catalog-page .store-app--featured .store-app__tagline {
  margin-top: 2px;
  font-size: 13px;
}

.store-catalog-page .store-app--featured .store-app__meta {
  margin-top: 6px;
}

.store-catalog-page .store-app--featured .store-details-link {
  font-size: 10px;
}

.store-catalog-page .store-app--featured .store-button--primary {
  border-color: var(--store-green);
  background: transparent;
  color: var(--store-green) !important;
}

.store-catalog-page .store-app--featured .store-button--primary:hover {
  background: var(--store-green-soft);
}

.store-catalog-page .store-app h3 {
  font-size: 22px;
}

.store-catalog-page .store-app__tagline {
  margin-top: 4px;
  font-size: 15px;
}

.store-catalog-page .store-app__meta {
  margin-top: 10px;
}

.store-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-category-card {
  min-width: 0;
  min-height: 128px;
  padding: 20px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  gap: 10px 14px;
  border: 1px solid transparent;
  border-radius: 18px;
  color: #18302a;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.store-category-card[hidden] {
  display: none;
}

.store-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 26, 24, 0.08);
}

.store-category-card.is-active {
  border-color: var(--store-green);
  box-shadow: 0 0 0 2px rgba(0, 63, 53, 0.12);
}

.store-category-card > i {
  grid-row: 1 / 3;
  align-self: start;
  font-size: 30px;
}

.store-category-card__content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 4px;
}

.store-category-card__content strong {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.store-category-card__content > span {
  color: rgba(24, 48, 42, 0.72);
  font-size: 13px;
  line-height: 1.3;
}

.store-category-card small {
  grid-column: 2;
  color: rgba(24, 48, 42, 0.68);
  font-size: 11px;
  font-weight: 750;
}

.store-category-card--mint { background: #dfeee7; }
.store-category-card--lilac { background: #ece5f8; }
.store-category-card--sky { background: #dfeef7; }
.store-category-card--peach { background: #f7e3d7; }
.store-category-card--sand { background: #f1ead7; }
.store-category-card--rose { background: #f5e0e4; }

.store-results {
  scroll-margin-top: 88px;
}

.store-results .store-section__heading > p {
  margin-top: 7px;
  margin-bottom: 0;
  color: var(--store-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.store-results .store-app {
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px 0;
}

.store-results .store-app__icon {
  width: 76px;
}

.store-catalog-page .store-app__icon--fallback {
  font-size: 38px;
}

@media (max-width: 800px) {
  body.store-catalog-page {
    padding-bottom: 72px;
  }

  .store-catalog-page .store-header__inner {
    width: calc(100% - 24px);
    min-height: 56px;
  }

  .store-catalog-page .store-brand {
    font-size: 22px;
  }

  .store-catalog-page .store-shell {
    width: calc(100% - 24px);
    padding: 16px 0 30px;
  }

  .store-catalog-page .store-search {
    margin-top: 0;
  }

  .store-catalog-page .store-search__hint {
    margin-top: 7px;
    font-size: 12px;
  }

  .store-catalog-page .store-search__field {
    min-height: 46px;
    padding: 0 13px;
    gap: 9px;
    border-radius: 13px;
  }

  .store-catalog-page .store-search__field > i {
    font-size: 18px;
  }

  .store-catalog-page .store-search__field input {
    font-size: 14px;
  }

  .store-catalog-page .store-search__field button {
    width: 30px;
    height: 30px;
  }

  .store-catalog-page .store-section,
  .store-catalog-page .store-categories {
    margin-top: 28px;
  }

  .store-catalog-page .store-section__heading {
    margin-bottom: 10px;
  }

  .store-catalog-page .store-section__heading h2 {
    font-size: 20px;
  }

  .store-catalog-page .store-app--featured {
    grid-template-columns: 38px minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 7px;
    padding: 9px;
  }

  .store-catalog-page .store-app--featured .store-app__icon {
    width: 38px;
  }

  .store-catalog-page .store-app--featured h3 {
    font-size: 14px;
  }

  .store-catalog-page .store-app--featured .store-app__tagline {
    display: none;
  }

  .store-catalog-page .store-app--featured .store-app__meta {
    margin-top: 4px;
  }

  .store-catalog-page .store-app--featured .store-app__meta span {
    padding: 2px 5px;
    font-size: 8px;
  }

  .store-catalog-page .store-app--featured .store-app__meta span:first-child {
    display: none;
  }

  .store-catalog-page .store-app--featured .store-app__actions {
    grid-column: 1 / -1;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 6px;
  }

  .store-catalog-page .store-app--featured .store-button {
    min-width: 54px;
    min-height: 30px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .store-catalog-page .store-app--featured .store-details-link {
    font-size: 9px;
  }

  .store-catalog-page .store-app h3 {
    font-size: 18px;
  }

  .store-catalog-page .store-app__tagline {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.25;
  }

  .store-catalog-page .store-app__meta {
    margin-top: 6px;
    gap: 4px;
  }

  .store-catalog-page .store-app__meta span {
    padding: 3px 6px;
    font-size: 9px;
  }

  .store-catalog-page .store-button {
    min-width: 62px;
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .store-category-grid {
    gap: 8px;
  }

  .store-category-card {
    min-height: 96px;
    padding: 11px;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 5px 8px;
    border-radius: 14px;
  }

  .store-category-card > i {
    font-size: 22px;
  }

  .store-category-card__content {
    gap: 3px;
  }

  .store-category-card__content strong {
    font-size: 14.5px;
    line-height: 1.12;
  }

  .store-category-card__content > span {
    font-size: 11.5px;
    line-height: 1.22;
  }

  .store-category-card small {
    font-size: 10px;
  }

  .store-results .store-app {
    grid-template-columns: 60px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 9px 0;
  }

  .store-results .store-app__icon {
    width: 60px;
  }

  .store-catalog-page .store-app__icon--fallback {
    font-size: 30px;
  }

  .store-catalog-page .store-footer {
    display: none;
  }

  .store-catalog-page .store-bottom-nav {
    min-height: 58px;
    padding: 5px 7px;
    border-radius: 17px;
  }

  .store-catalog-page .store-bottom-nav a {
    min-height: 46px;
    font-size: 9px;
  }

  .store-catalog-page .store-bottom-nav i {
    font-size: 19px;
  }
}

@media (max-width: 380px) {
  .store-category-card {
    padding: 10px;
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 6px;
  }

  .store-category-card > i {
    font-size: 19px;
  }

  .store-category-card__content strong {
    font-size: 13px;
  }

  .store-category-card__content > span {
    font-size: 10.5px;
  }
}
