:root {
  color-scheme: dark;
  --background: #101214;
  --text: #f4f3ee;
  --muted: #b7bdc1;
  --line: #303539;
  --accent: #d6f88b;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--background); background: var(--accent); }

.shell { width: min(1080px, calc(100% - 88px)); margin-inline: auto; }
.site-header, .site-footer, .collection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header { min-height: 77px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 750; letter-spacing: -.06em; }
.jump-link { color: var(--muted); font-size: 14px; padding-block: 12px; }
.jump-link span { color: var(--accent); margin-inline-start: 4px; }
.jump-link:hover { color: var(--text); }

.hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(52px, 7.5vw, 101px) 0 clamp(50px, 6.5vw, 89px); }
.eyebrow { font: 500 .6875rem/1.5 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.studio-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
h1 { margin-block: 18px 20px; font-size: clamp(3.2rem, 8.8vw, 7.5rem); font-weight: 700; line-height: .96; letter-spacing: -.085em; }
h1 em { color: var(--accent); font-style: normal; }
.intro { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.5; }
.hero-orbit {
  position: absolute;
  z-index: -1;
  top: 49%;
  right: -2%;
  width: clamp(245px, 43vw, 495px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 37px, #afc79728 38px, transparent 39px 45px), radial-gradient(circle, #92a87b20, transparent 68%);
  mask-image: radial-gradient(circle, #000 16%, #000a 55%, transparent 74%);
}
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid #b9d3a133; }
.hero-orbit::after { transform: rotate(90deg); }
.hero-orbit span { position: absolute; left: calc(50% - 4px); top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 24px 3px #d6f88873; }

.collection { scroll-margin-top: 18px; }
.collection-heading { border-top: 1px solid var(--line); color: var(--muted); padding-block: 17px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #181b1e; }
.pod { --app-accent: #c8d1ff; --art-background: #24294a; --orbit-color: #a4b4fc34; --halo: #6575d260; }
.tag { --app-accent: #d6f88b; --art-background: #252f21; --orbit-color: #d2eea036; --halo: #88a75263; }
.app-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(174px, 20vw, 228px);
  border-bottom: 1px solid var(--line);
  background: repeating-radial-gradient(circle, transparent 0 21px, var(--orbit-color) 22px, transparent 23px 28px), radial-gradient(ellipse, var(--halo), transparent 66%), var(--art-background);
}
.art-index { position: absolute; top: 16px; left: 18px; color: var(--app-accent); font: .6875rem/1.2 var(--mono); letter-spacing: .1em; }
.app-art img { display: block; width: 148px; height: 148px; object-fit: contain; filter: drop-shadow(0 13px 19px #0007); }
.tag .app-art img { width: 120px; height: 120px; }
.app-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(23px, 3.15vw, 36px); }
.category { color: var(--app-accent); }
h3 { margin-block: 5px 8px; font-size: clamp(2.35rem, 4.6vw, 3.45rem); line-height: 1.05; letter-spacing: -.065em; }
.app-description { max-width: 35ch; margin-bottom: 24px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.store-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; gap: 10px; font-size: .875rem; font-weight: 650; border-radius: 7px; background: var(--app-accent); color: #151a2b; padding: 8px 14px; }
.store-link:hover { background: #e0e5ff; }
.store-link:disabled { border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #23272a; color: var(--muted); font-family: inherit; }
.store-status { margin-top: 7px; color: var(--muted); font-size: .8125rem; }
.app-pricing { margin-block: auto 16px; color: var(--muted); font-size: .875rem; line-height: 1.65; }
.app-pricing .category { margin-bottom: 5px; }
.app-pricing strong { color: var(--text); font-variant-numeric: tabular-nums; }
.site-footer { margin-top: 45px; padding-block: 23px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 64px; }
  .hero-orbit { right: -31%; opacity: .56; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.85rem); }
  .cards { grid-template-columns: 1fr; }
  .wide-only { display: none; }
  .intro { max-width: 28ch; }
  .site-footer { margin-top: 30px; }
}
