.apps-store {
  background: #101113;
}
.store-width {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.store-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 96px;
  padding: 48px 0 64px;
}
.store-hero .breadcrumb {
  margin-bottom: 40px;
}
.store-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #a9aeaa;
  font-size: 14px;
  font-weight: 500;
}
.store-hero h1 {
  margin: 0;
  font:
    650 clamp(42px, 5vw, 66px)/1.06 Archivo,
    sans-serif;
  letter-spacing: -0.045em;
}
.store-lead {
  max-width: 470px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: #b6bcb7;
}
.connection-guide {
  margin-top: 42px;
  padding: 28px 30px;
  border: 1px solid #ffffff1c;
  border-radius: 20px;
  background: linear-gradient(135deg, #1c2220, #17191b 80%);
}
.connection-guide h2 {
  margin: 0 0 22px;
  font-size: 16px;
  font-weight: 600;
}
.connection-guide ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 21px;
}
.connection-guide li {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}
/* The same numbered markers as the homepage's steps. */
.step-number {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  height: 24px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font:
    800 12px/1 Archivo,
    sans-serif;
}
.connection-guide h3 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
}
.connection-guide p {
  margin: 0;
  color: #a9aeaa;
  font-size: 13px;
  line-height: 1.55;
}
.connection-guide > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  margin-top: 15px;
  color: #d1d6cd;
  font-size: 12px;
}
.store-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 24px;
}
.store-section-head h2 {
  margin: 0;
  font:
    600 23px/1.25 Archivo,
    sans-serif;
  letter-spacing: -0.025em;
}
.store-section-head > span {
  font-size: 13px;
  color: #929b95;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.featured-app {
  display: block;
  min-width: 0;
  border-radius: 18px;
}
.featured-art {
  position: relative;
  height: 236px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #dce5d8;
  color: #203e35;
  transition: transform 180ms ease;
}
.featured-money .featured-art {
  background: #dfe3f2;
  color: #233555;
}
.featured-kitchen .featured-art {
  background: #eee2d1;
  color: #2a4939;
}
.featured-art::before,
.featured-art::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid currentColor;
  opacity: 0.1;
  border-radius: 50%;
}
.featured-art::after {
  width: 330px;
  height: 330px;
}
.featured-art img {
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  box-shadow: 0 15px 35px #172b2520;
  transform: rotate(-6deg);
  transition: transform 180ms ease;
}
.featured-money .featured-art img {
  transform: rotate(5deg);
}
.featured-kitchen .featured-art img {
  transform: rotate(-4deg);
}
.featured-category {
  position: absolute;
  top: 21px;
  left: 23px;
  font-size: 13px;
  font-weight: 600;
}
.featured-arrow {
  position: absolute;
  right: 20px;
  bottom: 19px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #203e3535;
  border-radius: 50%;
}
.featured-arrow svg {
  width: 18px;
  height: 18px;
}
.featured-app:hover .featured-art img {
  transform: rotate(0) translateY(-3px);
}
.featured-copy {
  padding: 18px 2px 0;
}
.featured-copy h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}
.featured-copy p {
  margin: 0;
  font-size: 14px;
  color: #aeb5b0;
}
.apps-store svg:not(.logo-wall) {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.store-browse {
  padding-top: 72px;
}
.store-tools {
  margin-bottom: 28px;
}
.app-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 0 17px;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #181a1d;
}
.app-search:focus-within {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}
.app-search svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #959e97;
}
.app-search input {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: #f3f1ec;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.app-search input::placeholder {
  color: #989f9b;
}
.store-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.store-categories button,
#clear-filters {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid #ffffff1c;
  border-radius: 24px;
  background: transparent;
  color: #adb5b0;
  font:
    500 13px/1.3 "DM Sans",
    sans-serif;
  cursor: pointer;
}
.store-categories button:hover {
  border-color: #ffffff50;
  color: #f3f1ec;
}
.store-categories button[aria-pressed="true"],
#clear-filters {
  color: #17191b;
  background: #f3f1ec;
  border-color: #f3f1ec;
}
.apps-store button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 4px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.catalog-app {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px 17px;
  padding: 25px;
  border: 1px solid #ffffff16;
  border-radius: 16px;
  background: #17191c;
  transition:
    border-color 150ms ease,
    background 150ms ease;
}
.catalog-app:hover {
  background: #1c201f;
  border-color: #ffffff40;
}
.catalog-icon {
  border-radius: 16px;
  width: 64px;
  height: 64px;
}
.catalog-copy {
  display: contents;
}
.catalog-copy h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 7px 0 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}
.catalog-category {
  grid-column: 2;
  grid-row: 1;
  margin-top: 34px;
  font-size: 13px;
  color: #a1aaa3;
}
.catalog-copy p {
  grid-column: 1/-1;
  margin: 0;
  color: #aeb5b0;
  font-size: 14px;
  line-height: 1.7;
  min-height: 66px;
}
.catalog-open {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dddcd5;
  font-size: 13px;
  font-weight: 500;
}
.catalog-open svg {
  width: 17px;
  height: 17px;
  color: #9da79f;
}
.empty-apps {
  padding: 48px 20px;
  text-align: center;
  border: 1px dashed #ffffff30;
  border-radius: 16px;
}
.empty-apps h3 {
  margin: 0;
  font-size: 20px;
}
.empty-apps p {
  color: #aeb5b0;
}
.store-included {
  margin-top: 72px;
  padding-top: 38px;
  border-top: 1px solid #ffffff1c;
}
.store-included .store-eyebrow {
  margin-bottom: 6px;
  font-size: 14px;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.included-app {
  padding: 20px 0;
}
.included-app h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}
.included-app p {
  margin: 0 0 20px;
  color: #aeb5b0;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.7;
}
.included-app > span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-size: 13px;
  color: #d8ddd4;
}
.included-app svg {
  width: 16px;
  height: 16px;
}
.store-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 56px 0 80px;
  padding: 32px;
  border: 1px solid #ffffff1c;
  border-radius: 16px;
  background: #1a201d;
}
.store-account h2 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 600;
}
.store-account p {
  margin: 0;
  max-width: 490px;
  color: #aeb5b0;
  font-size: 13px;
  line-height: 1.7;
}
.store-account > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #ffffff3a;
  border-radius: 8px;
  font-size: 13px;
}
.apps-store .site-footer {
  border-top: 1px solid #ffffff1c;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.apps-store [hidden] {
  display: none !important;
}
.mobile-connection-guide {
  display: none;
}
@media (max-width: 1000px) {
  .store-hero {
    gap: 48px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .store-hero h1 {
    font-size: 48px;
  }
  .featured-art {
    height: 205px;
  }
}
@media (max-width: 760px) {
  .store-width {
    width: calc(100% - 40px);
  }
  .store-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 0 32px;
  }
  .store-hero .breadcrumb,
  .connection-guide {
    display: none;
  }
  .store-hero h1 {
    font-size: clamp(38px, 9vw, 56px);
  }
  .store-lead {
    font-size: 15px;
    margin-top: 20px;
  }
  .mobile-connection-guide {
    display: block;
    margin-top: 24px;
    padding: 8px 0;
    border-bottom: 1px solid #ffffff1c;
    color: #b6bcb7;
    font-size: 13px;
    line-height: 1.7;
  }
  .mobile-connection-guide summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding-block: 11px;
    color: #e4e3de;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
  }
  .mobile-connection-guide summary::-webkit-details-marker {
    display: none;
  }
  .mobile-connection-guide summary::after {
    content: "+";
    color: var(--coral);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }
  .mobile-connection-guide[open] summary::after {
    content: "−";
  }
  .mobile-connection-guide li {
    margin-bottom: 10px;
  }
  .mobile-connection-guide > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .featured-grid {
    gap: 14px;
  }
  .featured-art {
    height: 176px;
  }
  .featured-art img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }
  .featured-category {
    top: 15px;
    left: 14px;
    font-size: 12px;
  }
  .featured-arrow {
    right: 12px;
    bottom: 12px;
    width: 27px;
    height: 27px;
  }
  .featured-copy h3 {
    font-size: 16px;
  }
  .featured-copy p {
    font-size: 13px;
    line-height: 1.6;
  }
  .store-section-head > span {
    display: none;
  }
  .store-browse {
    padding-top: 48px;
  }
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .store-account {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 48px;
    padding: 25px;
  }
}
@media (max-width: 520px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .featured-app {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: center;
    gap: 18px;
    background: #17191c;
    padding: 12px;
    border: 1px solid #ffffff16;
    border-radius: 16px;
  }
  .featured-art {
    height: 116px;
    border-radius: 12px;
  }
  .featured-art img {
    width: 68px;
    height: 68px;
    border-radius: 17px;
  }
  .featured-category,
  .featured-arrow {
    display: none;
  }
  .featured-copy {
    padding: 0 5px 0 0;
  }
  .featured-copy p {
    font-size: 13px;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-copy p {
    min-height: 0;
  }
  .store-categories {
    gap: 6px;
  }
  .store-categories button {
    padding-inline: 13px;
    font-size: 13px;
  }
  /* 16px keeps iOS from zooming the page when the search field is focused. */
  .app-search input {
    font-size: 16px;
  }
  /* Phones: the arrow sits beside the name, so each card is one row
     shorter. The card's accessible name is already "Open <app>". */
  .catalog-app {
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px 16px;
    padding: 20px;
  }
  .catalog-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }
  .catalog-copy h3 {
    margin: 3px 0 22px;
  }
  .catalog-category {
    margin-top: 30px;
  }
  .catalog-open {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    font-size: 0;
  }
  .store-section-head h2 {
    font-size: 21px;
  }
  .included-grid {
    gap: 10px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .featured-art,
  .featured-art img,
  .catalog-app {
    transition: none;
  }
}
