:root {
  --fg: #16161a; --dim: #5b5b66; --line: #e4e4ea; --acc: #2f4bd8; --on-acc: #fff;
  --bg: #f6f6f8; --card: #fff; --shadow: 0 1px 2px rgba(20, 20, 40, .06), 0 6px 20px rgba(20, 20, 40, .05);
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #ececf1; --dim: #a2a2ae; --line: #2c2c34; --acc: #8ea2ff; --on-acc: #0f1024;
    --bg: #111114; --card: #1a1a1f; --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--acc); }
p { margin: 0 0 14px; }

.top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 20px; padding: 10px max(24px, calc(50% - 536px));
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; white-space: nowrap; }
nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
nav a { padding: 6px 12px; border-radius: 999px; color: var(--dim); text-decoration: none; font-size: 15px; white-space: nowrap; }
nav a:hover { background: var(--card); color: var(--fg); }
@media (max-width: 720px) {
  .top { flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 16px 6px; }
  nav { margin: 0 -16px; padding: 0 10px; }
}

main { max-width: 1120px; margin: 0 auto; padding: 48px 24px 64px; }
.hero { max-width: 720px; }
h1 { font-size: clamp(32px, 6vw, 50px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -1px; }
.lead { font-size: 19px; color: var(--dim); }
h2 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.3px; }
section { margin-top: 56px; }
section > p { max-width: 680px; }
.small { font-size: 15px; color: var(--dim); }

.cards { display: grid; gap: 16px; margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.cards.compact { gap: 12px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { display: flex; gap: 14px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.compact .card { padding: 14px; gap: 12px; }
.icon { flex: none; width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.compact .icon { width: 44px; height: 44px; border-radius: 10px; }
.blank { display: grid; place-items: center; background: color-mix(in srgb, var(--acc) 14%, var(--card)); color: var(--acc); font-weight: 700; font-size: 20px; }
.text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.compact h3 { font-size: 16px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--acc); }
.line { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.45; }
.card .line { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.compact .line { font-size: 14px; -webkit-line-clamp: 2; }
.foot { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.price { font-weight: 650; font-size: 15px; margin-right: auto; }
.buy, .soon { padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.buy { background: var(--acc); color: var(--on-acc); text-decoration: none; }
.soon { border: 1px solid var(--line); color: var(--dim); font-weight: 500; }
.sampler { font-size: 14px; }

footer { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }

.page { max-width: 860px; }
.page h1 { font-size: 30px; letter-spacing: -.5px; }
.page h2 { font-size: 20px; margin: 32px 0 12px; }
.product { display: flex; gap: 20px; margin-bottom: 28px; }
.product .icon { width: 88px; height: 88px; border-radius: 18px; }
.product h1 { margin: 0; }
.product .line { font-size: 17px; }
.product .price { margin-right: 4px; }
.product .links { margin: 4px 0 0; font-size: 14px; color: var(--dim); }
.shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 28px; padding-bottom: 6px; }
.shot { flex: none; width: min(100%, 720px); height: auto; scroll-snap-align: start; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 560px) {
  .compact .card { padding: 12px; }
  .compact .line { -webkit-line-clamp: 1; }
  .compact .foot { padding-top: 0; }
  .compact .buy, .compact .soon { padding: 4px 12px; font-size: 13px; }
  .product { flex-direction: column; gap: 12px; }
  .product .icon { width: 64px; height: 64px; }
  .page h1 { font-size: 26px; }
}
