/* Dots Media Store — from the approved mockup (docs/superpowers/specs/assets/store-v1.html). */
:root { --ink: #0E0E10; --ink2: #55555C; --muted: #8A8A92; --line: #ECECEF; --grid: rgba(14, 14, 16, .045); }
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif; color: var(--ink); min-height: 100vh;
  background-color: #fff;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px;
}
a { color: inherit; }
em.serif { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* nav */
nav.top { display: flex; align-items: center; gap: 22px; padding: 18px 0; }
nav.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
nav.top .brand i { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); display: inline-block; }
nav.top .sp { flex: 1; }
nav.top a.link { color: var(--ink2); font-size: 14px; text-decoration: none; }
nav.top a.link:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn.sm { padding: 8px 16px; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #2B2B31; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn svg { width: 15px; height: 15px; }
.pill { display: inline-flex; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink2); }
.pill b { color: var(--ink); font-weight: 500; }

/* home */
.home { padding: 56px 0 96px; text-align: center; }
.home h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -.03em; font-weight: 500; margin-top: 22px; }
.home p.sub { color: var(--ink2); font-size: 17px; margin: 16px auto 0; max-width: 540px; line-height: 1.5; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; max-width: 880px; margin: 44px auto 0; text-align: left; }
.app { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.app:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .18); }
.app h3 { font-size: 17px; font-weight: 600; }
.app p { color: var(--ink2); font-size: 13.5px; line-height: 1.45; margin-top: 4px; }
.app .meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.app .v { font-size: 12px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.app .get { font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; background: #F2F2F4; }
.icon { width: 64px; height: 64px; border-radius: 15px; flex: none; }
.icon.sm { width: 56px; height: 56px; border-radius: 13px; }
.icon.tile { background: linear-gradient(160deg, #2B2B31, #0E0E10); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 20px; }

/* app page */
.detail { padding: 40px 0 56px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.detail .head { display: flex; align-items: center; gap: 14px; }
.detail .head small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.detail h1 { font-size: clamp(34px, 5vw, 50px); line-height: 1.04; letter-spacing: -.03em; font-weight: 500; margin-top: 22px; }
.detail p.sub { color: var(--ink2); font-size: 16.5px; line-height: 1.55; margin-top: 18px; max-width: 470px; }
.cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.small { color: var(--muted); font-size: 12.5px; margin-top: 12px; line-height: 1.5; }
.hint { margin-top: 14px; border: 1px dashed var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font-size: 12.5px; color: var(--ink2); line-height: 1.5; max-width: 470px; }
.hint b { color: var(--ink); font-weight: 500; }
.shot { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .25); overflow: hidden; }
.shot .bar { height: 30px; border-bottom: 1px solid var(--line); display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #E4E4E7; display: inline-block; }
.shot img { display: block; width: 100%; height: auto; }
.shot .body { height: 300px; display: grid; grid-template-columns: 120px 1fr; }
.shot .side { border-right: 1px solid var(--line); background: #FAFAFA; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.shot .side span { height: 9px; border-radius: 4px; background: #E8E8EC; }
.shot .main { padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.shot .main div { height: 70px; border-radius: 10px; border: 1px solid var(--line); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 32px; }
.feat { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px; }
.feat h4 { font-size: 15px; font-weight: 600; }
.feat p { font-size: 13.5px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }
.box { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px 22px; margin-bottom: 24px; }
.box .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.box ul { margin-top: 10px; padding-left: 18px; color: var(--ink2); font-size: 13.5px; line-height: 1.7; }
.box table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.box td { padding: 9px 0; border-top: 1px solid var(--line); color: var(--ink2); }
.box td.v { font-family: ui-monospace, Menlo, monospace; color: var(--ink); width: 90px; }
.box td.d { text-align: right; }
footer { border-top: 1px solid var(--line); margin-top: 32px; padding: 22px 0 40px; color: var(--muted); font-size: 12.5px; }

@media (max-width: 860px) {
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: 1fr; }
  .wrap { padding: 0 16px; }
  nav.top a.link { display: none; }
}
